I have been searching and although I find long and complicated (many features I do not need) on how to just simply have python have linux use the cat function to concatenate files to a single file.
From my reading apparently subprocess is the way to do this. Here is what I have but obviously does not work :(
subprocess.call("cat", str(myfilelist[0]), str(myfilelist[1]), str(myfilelist[2]), str(myfilelist[3]), ">", "concatinatedfile.txt"])
the above assumes:
myfilelist[]
the above list has 4 filenames + paths as a list; for example one item in the list is "mypath/myfile1.txt"
I would take non subprocess (but simple) methods also