python 串行执行和并行执行实例

上传:yhad56157 浏览: 26 推荐: 0 文件:PDF 大小:75KB 上传时间:2020-12-23 01:17:30 版权申诉
我就废话不多说了,大家还是直接看代码吧! #coding=utf-8 import threading import time import cx_Oracle from pprint import pprint import csv print time.asctime() table_name = "dbtest.csv" f = open(table_name + ".csv", "w") conn = cx_Oracle.connect('tlcbuser/tlcbuser@20.5.101.31/tlyy') cursor = conn.cursor() def query01()
上传资源
用户评论