摘要: from mysql import MYSQLimport threadingzzzzz = []def run(z,zz): SQL = "select * from e_verify_email where Id = \'"+zz+"\'" my = MYSQL(SQL) alldata = my.getRs() zzzzz.append(alldata)if __name__ == "__main__": threads = [] k = 5 for a in range(0,k): z = threading. 阅读全文
posted @ 2011-09-02 16:24 阿奴 阅读(7692) 评论(3) 推荐(0) 编辑
摘要: 中秋博饼 阅读全文
posted @ 2011-08-29 18:02 阿奴 阅读(956) 评论(0) 推荐(0) 编辑
摘要: 跟自带的差好多。 阅读全文
posted @ 2011-02-09 20:37 阿奴 阅读(233) 评论(0) 推荐(0) 编辑
摘要: 准备好蛋准备好工具安装工具:http://pypi.python.org/pypi/setuptools安装完成后在D:\Python26\Scripts文件夹中找到easy_install.exe把蛋拖进去That`s rightTwisted需要一个zope.interface的蛋http://pypi.python.org/pypi/zope.interface#downloads 阅读全文
posted @ 2011-01-14 06:37 阿奴 阅读(6107) 评论(3) 推荐(0) 编辑
摘要: 如果输入是int float 则 T    不是 则 F 阅读全文
posted @ 2011-01-10 00:55 阿奴 阅读(4338) 评论(0) 推荐(0) 编辑
摘要: # coding:GBKfrom xml.dom import minidomxmldoc = minidom.parse('test.xml')print '+ Channel'groups = xmldoc.getElementsByTagName('group')for group in groups: parent = None names = group.getElementsByTagName('name') for name in names: print '--',name.firstChild.data items = group.getElementsByTagName(' 阅读全文
posted @ 2011-01-04 03:40 阿奴 阅读(483) 评论(0) 推荐(0) 编辑