02 2021 档案
摘要:1、 'Hello %s,id=%s' %(name,id) 2、 'Hello {}' %(name) 3、python3.6以上版本支持 X=1 sql=f"select * from bill_monthly_batch_detail where is_deleted={X}”
阅读全文
摘要:import pandas 导包后,获取一个DataFrame对象 df=pd.DataFrame(result_list,columns=['企业','年份','x']) df.to_excel("C:\\Users\\path\\Desktop\\Result.xlsx",index=False
阅读全文
摘要:datetime类的timedalte 表示两个时间的差值 datetime.timedelta(days=0, seconds=0, microseconds=0, milliseconds=0, minutes=0, hours=0, weeks=0) 均为可选参数。 举例: #startdat
阅读全文

浙公网安备 33010602011771号