Home | History | Annotate | Download | only in src
      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 src = open(sys.argv[1])
      9 dst = open(sys.argv[2], 'w')
     10 for ch in src.read():
     11   dst.write('%d,\n' % ord(ch))
     12 src.close()
     13 dst.close()
     14