How do I split a huge text file in python September 5, 2023 by Tarik linux has a split command split -l 100000 file.txt would split into files of equal 100,000 line size