摘要:
D:\szh\noses文件夹下有子文件夹和文件 with tarfile.open('E:\\szh.tar', "w") as tar: tar.add('D:\\szh\\noses')) 压缩包第一层文件夹为szh,下面才是noses with tarfile.open('E:\\szh.t 阅读全文
posted @ 2018-03-10 18:14
☆星空物语☆
阅读(2009)
评论(0)
推荐(0)
摘要:
conn = MongoClient('127.0.0.1', 27017)db = conn.diffcollection = db['test1']result = collection.find({"b":"a"})if result.count() == 0: print 'no data' 阅读全文
posted @ 2018-03-10 17:51
☆星空物语☆
阅读(2071)
评论(0)
推荐(0)

浙公网安备 33010602011771号