title1|title2|title3|title4|merge
test|data|here|and
test|data|343|AND
",3|data|343|and
title1|title2|title3|title4|merge
test|data|here|and|testhereand
test|data|343|AND|test343AND
",3|data|343|and|",3343and
作为您在运行此代码时的参考,第一次打印它将打印我希望在输出csv中出现的行。但是,第二次打印将打印标题行x次,其中x是行数。在
任何输入或更正或工作代码将不胜感激。在
最后一行的双引号肯定把csv.DictReader(). 这是有效的:
我想我们可以把这件事简化。我承认,处理流氓
"
有点麻烦,因为你必须努力告诉Python你不想为此担心。在生产
^{pr2}$注意,即使你想更新原始文件,我还是拒绝了。为什么?这是个坏主意,因为这样你就可以在处理数据的同时销毁数据。在
我怎么能这么肯定?因为这正是我第一次运行你的代码时所做的,我知道的更多。;^)
相关问题 更多 >
编程相关推荐