?
Current Path : /lib64/python2.7/idlelib/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : //lib64/python2.7/idlelib/idle.py |
import os.path import sys # If we are working on a development version of IDLE, we need to prepend the # parent of this idlelib dir to sys.path. Otherwise, importing idlelib gets # the version installed with the Python used to call this module: idlelib_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) sys.path.insert(0, idlelib_dir) import idlelib.PyShell idlelib.PyShell.main()