This is the code I am using and I am getting partial output The txt file consists of the following elements: time.txt and the output i am getting is output here in the output the program is not printing till the end of the txt file , it is only printing till a certain line and stopping . dont know
Tag: file-handling
How do I replace multiple blank spaces occuring in a text file with a single space in python
Answer Split string by default splits string at spaces and ignores multiple consecutive spaces:
How to create multiple delimited files in python?
I have a program that converts CSV files into pipe delimited files and also counts the total no of lines. But in this case, if the total no of lines is above 7000, I want to create a new output file. The situation would be adjusting just 7000 lines in one file and creating every other output files for every