Lines Matching refs:file
19 print "%s is not a file" % problem_file
23 def do_convert(file):
28 print "converting %s ..." % file
30 with open(file, 'r') as f_in:
33 # The new content to be written back to the same file.
50 with open(file, 'w') as f_out:
59 for file in sys.argv[1:]:
60 if not os.path.isfile(file):
61 usage(file)
62 do_convert(file)