python数据库
fufeng3011
这个作者很懒,什么都没留下…
展开
-
AttributeError: 'module' object has no attribute(转)
AttributeError: 'module' object has no attribute 'SendCloud'网上查了下 意思是说你命名的文件名不能和lib重名,这样会导致import是你命名的文件。 于是我改了文件的名字 但是依然还是 Python代码 AttributeError: 'module' obj转载 2014-07-09 09:49:28 · 666 阅读 · 0 评论 -
pymssql中查询结果输出,输出内容的误解
fuPython的元组与列表类似,不同之处在于元组的元素不能修改,元组使用小括号,列表使用方括号,元组创建很简单,只需要在括号中添加元素,并使用逗号隔开即可一、创建元组复制代码 代码如下:tup1 = ('physics', 'chemistry', 1997, 2000);tup2 = (1, 2, 3, 4, 5 );tup3 = "a", "b", "原创 2014-07-11 10:10:01 · 2680 阅读 · 0 评论