Jul-03-2019, 01:02 PM
Hi, is it OK for my PC when my python code works with 200 000 small text files? My python program opens every second new text file writes there one number and then closes it and then again and again. I am relatively new to programming so I am not sure if such high number of files is OK. Is it better to write everything to one bigger (but still nothing huge) file and loose clarity in data or is it OK to make 200 000 small text files and open/close/write into them in intervals which last only few milliseconds/seconds? Thanks for advice!