Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Text files
#2
I would think having a different file for each datum would lose a lot of clarity in the data.

Each file requires a certain amount of overhead. 200,000 files are going to take up a lot more space than one file with 200,000 lines. Opening files also requires overhead, so your program is going to run a lot slower with 200,00 files than with one. One file is more efficient (up to a point).
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
Text files - by vretenica - Jul-03-2019, 01:02 PM
RE: Text files - by ichabod801 - Jul-03-2019, 01:13 PM
RE: Text files - by perfringo - Jul-03-2019, 01:21 PM
RE: Text files - by vretenica - Jul-03-2019, 02:56 PM
RE: Text files - by ichabod801 - Jul-03-2019, 03:12 PM
RE: Text files - by perfringo - Jul-03-2019, 03:24 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Most Compatible Text Editor to Handle Large Files? Robotguy 2 2,416 Aug-18-2020, 03:51 PM
Last Post: FortyTwo
  Can python read Marathi text files and summarize them? mcp111 0 1,860 Mar-18-2020, 08:58 AM
Last Post: mcp111
  How to compare two files and Display different results for text and for INT Prince_Bhatia 1 3,301 May-18-2018, 11:52 AM
Last Post: Prince_Bhatia
  import/use data from text files MichealPeterson 1 3,346 Jun-28-2017, 08:51 AM
Last Post: buran
  read multiple .xlsx files and text files in a directory BNB 11 25,871 Jun-07-2017, 07:42 AM
Last Post: BNB

Forum Jump:

User Panel Messages

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