appletrawmain.py | 17 # Make sure we have an argv[0], and make _dir point to the Resources 22 _dir = os.path.split(sys.executable)[0] # removes "python" variable 23 _dir = os.path.split(_dir)[0] # Removes "MacOS" variable 24 _dir = os.path.join(_dir, 'Resources') variable 27 _dir = os.path.split(sys.argv[0])[0] variable 33 sys.path.insert(0, _dir) 41 __file__ = os.path.join(_dir, '__main__.py') 47 del argvemulator, os, sys, _dir [all...] |