摘要:
break用法:循环的时候,循环一次即停止 import pymysql,xlwt FI = pymysql.connect( host='*',user='root',passwd='*', port=*,db='z*',charset='utf8' #port必须写int类型, #charset 阅读全文
摘要:
在python里,1个=号是赋值,==号是IF后面的等于 阅读全文
摘要:
import os,time,shutil root=r'D:\pylx\20210622' while True: for item in os.listdir(root): abs_path = os.path.join(root, item) if time.time()-os.path.ge 阅读全文
摘要:
sql = '''select case left(d.name,2) when 'DD' then '*' when 'DW' then '*' when 'ZN' then '*' when 'DL' then '*' WHEN 'HB' then '华北' when 'ZH' then'*' 阅读全文