如何将DAT文件转换为CSV [英] How to convert DAT file to CSV
本文介绍了如何将DAT文件转换为CSV的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Hi Every One我想将DAT文件转换为csv.Please help
Hi Every One i wanted to convert DAT file to csv.Please help
推荐答案
取决于你的dat文件中使用的字段分隔符...
1.将您的文件作为字符串读取
2.用逗号替换字段分隔符
3 .save将字符串作为.csv文件
depends on the field separator that is used in your dat file...
1.read your file as a string
2.replace the field separator with a comma and
3.save the string as .csv file
这篇关于如何将DAT文件转换为CSV的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文