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