摘要:
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}” 阅读全文
posted @ 2021-02-02 16:15
olio_min
阅读(103)
评论(0)
推荐(0)
摘要:
import pandas 导包后,获取一个DataFrame对象 df=pd.DataFrame(result_list,columns=['企业','年份','x']) df.to_excel("C:\\Users\\path\\Desktop\\Result.xlsx",index=False 阅读全文
posted @ 2021-02-02 16:01
olio_min
阅读(115)
评论(0)
推荐(0)
摘要:
datetime类的timedalte 表示两个时间的差值 datetime.timedelta(days=0, seconds=0, microseconds=0, milliseconds=0, minutes=0, hours=0, weeks=0) 均为可选参数。 举例: #startdat 阅读全文
posted @ 2021-02-02 15:57
olio_min
阅读(132)
评论(0)
推荐(0)

浙公网安备 33010602011771号