home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2010 May / maximum-cd-2010-05.iso / DiscContents / boxee-0.9.20.10711.exe / system / python / Lib / plat-mac / appletrunner.pyo (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2009-07-20  |  664 b   |  19 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.4)
  3.  
  4. import os
  5. import sys
  6. for name in [
  7.     '__rawmain__.py',
  8.     '__rawmain__.pyc',
  9.     '__main__.py',
  10.     '__main__.pyc']:
  11.     realmain = os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), 'Resources', name)
  12.     if os.path.exists(realmain):
  13.         break
  14.         continue
  15. else:
  16.     sys.exit(1)
  17. sys.argv.insert(1, realmain)
  18. os.execve(sys.executable, sys.argv, os.environ)
  19.