Popular recipes tagged "text_files" but not "text"http://code.activestate.com/recipes/tags/text_files-text/2012-02-19T23:40:47-08:00ActiveState Code RecipesSplit Up Text File by Line Count (Python) 2012-02-19T23:40:47-08:00Andrew Yurisichhttp://code.activestate.com/recipes/users/4180867/http://code.activestate.com/recipes/578045-split-up-text-file-by-line-count/ <p style="color: grey"> Python recipe 578045 by <a href="/recipes/users/4180867/">Andrew Yurisich</a> (<a href="/recipes/tags/split/">split</a>, <a href="/recipes/tags/text_files/">text_files</a>). Revision 5. </p> <p>Splits a large text file into smaller ones, based on line count. Original file is unmodified.</p> <p>Resulting text files are stored in the same directory as the original file.</p> <p>Useful for breaking up text based logs or blocks of email logins into smaller parts.</p>