Update Darwin to Python 3.5 (64bit)
This commit is contained in:
parent
1f23120cc3
commit
c8252cce16
2576 changed files with 138841 additions and 63771 deletions
17
Darwin/lib/python3.5/idlelib/idle.pyw
Normal file
17
Darwin/lib/python3.5/idlelib/idle.pyw
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
try:
|
||||
import idlelib.PyShell
|
||||
except ImportError:
|
||||
# IDLE is not installed, but maybe PyShell is on sys.path:
|
||||
from . import PyShell
|
||||
import os
|
||||
idledir = os.path.dirname(os.path.abspath(PyShell.__file__))
|
||||
if idledir != os.getcwd():
|
||||
# We're not in the IDLE directory, help the subprocess find run.py
|
||||
pypath = os.environ.get('PYTHONPATH', '')
|
||||
if pypath:
|
||||
os.environ['PYTHONPATH'] = pypath + ':' + idledir
|
||||
else:
|
||||
os.environ['PYTHONPATH'] = idledir
|
||||
PyShell.main()
|
||||
else:
|
||||
idlelib.PyShell.main()
|
||||
Loading…
Add table
Add a link
Reference in a new issue