python 往csv文件写入当前时间加对应时刻数据

with open(full_path, 'a', newline='') as f:
    writer = csv.writer(f)
    writer.writerow([newTime, '1'])

猜你喜欢

转载自blog.csdn.net/m0_37827405/article/details/83106440