6 print "%s [-s] <file> <symbol>" % sys.argv[0]
13 if len(args) >= 1 and args[0] == '-s':
17 if len(args) >= 1 and args[0] == '-h':
21 sys.stderr("Wrong number of arguments")
33 out.write('const char %s[] = \n"' % args[1]);
44 elif ord(c) < 32 or ord(c) >= 127:
45 out.write('\\x%02x' % ord(c))