Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Writing into csv
#1
Hi,

I would like to write the below text present in a list

[u'header_1,header_2,header_3,header_4\r\n/value_10,value_11,value_12,value_13\r\n/value_20,value_21,value_22,value_23,\r\n']

into a csv in the below format

header_1 header_2 header_3 header_4
value_10 value_11 value_12 value_13
value_20 value_21 value_22 value_23

Any suggestions please
Reply
#2
Python has a module for this. There are examples in the documentation.
I am trying to help you, really, even if it doesn't always seem that way
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020