1 2 3 4 5 6 7
#!/usr/bin/env python import sys for filename in sys.argv[1:]: with open(filename, 'r') as f: sys.stdout.write(f.read())