old_contents: # ome - Object Message Expressions
  # Copyright (c) 2015 Luke McCarthy <luke@iogopro.co.uk>. All rights reserved.
  
  import sys
  from ome.compiler import compile_file, Error
  
  def main():
      if len(sys.argv) != 2:
          sys.stderr.write('usage: python ome.py <infile.ome>\n')
      else:
          try:
              compile_file(sys.argv[1])
          except Error as e:
              sys.stderr.write('%s\n' % e)
              sys.exit(1)
  
  if __name__ == '__main__':
      main()
  
new_contents: #!/usr/bin/env python3
  #
  # ome - Object Message Expressions
  # Copyright (c) 2015 Luke McCarthy <luke@iogopro.co.uk>. All rights reserved.
  
  import sys
  from ome.compiler import compile_file, Error
  
  def main():
      if len(sys.argv) != 2:
          sys.exit('usage: python ome.py <infile.ome>')
      else:
          try:
              compile_file(sys.argv[1])
          except Error as e:
              sys.exit(str(e))
  
  if __name__ == '__main__':
      if sys.version_info[0] < 3:
          sys.exit('Please run in Python 3')
      main()
  
subject: Check Python version.