1 #!/usr/bin/python 2 # Copyright (c) 2012 Google Inc. All rights reserved. 3 # Use of this source code is governed by a BSD-style license that can be 4 # found in the LICENSE file. 5 6 import sys 7 8 fh = open(sys.argv[1], 'w') 9 10 filenames = sys.argv[2:] 11 12 for filename in filenames: 13 subfile = open(filename) 14 data = subfile.read() 15 subfile.close() 16 fh.write(data) 17 18 fh.close() 19