Monday 23 March 2015

Usage: split.py [options] file
Split a text file into X number of files (2 by default)

Options:
–version show program’s version number and exit
-h, –help show this help message and exit
-m, –man Print manual
-p PARTS, –parts=PARTS
Number of parts to split the file into

Manual:

This program will split the given text file in 2 parts (2 parts by
default, the number of parts can be changed with option -p). Each
resulting file has suffix _part_?? where ?? is the number of the file
(01, 02, …). The extension remains the same.

The first line of text is written to _part_01, the second line of text
is written to _part_02, and so on, until the last part _part_?? is
written to. Then the cycle starts again with the first part _part_01.