[英]How to save the edited .csv file in python
I have sensor readings stored in csv files and now I am adding some more values to these files. 我将传感器读数存储在csv文件中,现在我向这些文件添加了更多值。 How can I save these files in new locations in csv format for future use.
如何将这些文件以csv格式保存在新位置,以备将来使用。
Take a look at this guide: http://www.pythonforbeginners.com/systems-programming/using-the-csv-module-in-python/ 看看本指南: http : //www.pythonforbeginners.com/systems-programming/using-the-csv-module-in-python/
Basically the csv module does what you need: 基本上, csv模块可以满足您的需求:
import csv
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.