时间:2021-07-01 10:21:17 帮助过:4人阅读
#-*- conding:utf-8 -*- #version:python 2.7.10 import sys import os import time def User(): txt = open('e:/python/pytest/user.txt','w') now = time.time() for i in range(1000000): txt.write("user%s time=%s\n" %((i+1),time.time()-now)) txt.close User()
以上就是python批量生产10万接入用户代码分享的详细内容,更多请关注Gxl网其它相关文章!