what's the quickest way to simple-merge files and what's the quickest way to split an array?
<p>what's the quickest way to take a list of files and a name of an output file and merge them into a single file while removing duplicate lines?
something like</p>

<p>cat file1 file2 file3 | sort -u > out.file</p>

<p>in python.</p>

<p>prefer not to use system calls.</p>

<p>AND:</p>

<p>what's the quickest way to split a list in python into X chunks (list of lists) as equal as possible? (given a list and X.)</p>
