Python Forum
Saving data from each row into separate txt
Thread Rating:
  • 1 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Saving data from each row into separate txt
#6
zivoni, DeaD_Eye, thank you for your feedback. So, I am trying the solution suggested by Dead_Eye and it seems to do the job. However, the issue is that the file name of each newly created txt appears to be as follows, e.g.:

1001,"I.txt
1003,"Like,.txt
1005,"""/.txt
1007,"I.txt

In other words, the first value (i.e., FIPS code) is correct, then there is a comma, then a quote, and then the very first word of the text. The content of the txt file is what is supposed to be except for that first word. What am I doing wrong? Wall
Reply


Messages In This Thread
RE: Saving data from each row into separate txt - by kiton - Jul-04-2017, 06:15 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Saving data into xlxs colomwise erdemath 0 1,429 Oct-02-2021, 09:01 AM
Last Post: erdemath
  Data saving structure JosefFilosopio 0 2,147 May-04-2019, 10:48 AM
Last Post: JosefFilosopio
  Problem with saving data and loading data to mysql kirito85 4 3,962 Feb-08-2019, 10:53 AM
Last Post: kirito85
  Saving data into .mat (Matlab Fiile) Tulo_Stone 0 2,421 Feb-28-2018, 12:57 AM
Last Post: Tulo_Stone

Forum Jump:

User Panel Messages

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