Logo
Explore Help
Sign In
1berry/cpython
1
0
Fork 0
You've already forked cpython
Code Issues Packages Projects Releases Wiki Activity
cpython/Lib/idlelib/idle.pyw

10 lines
192 B
Python
Raw Normal View History

Initial revision
2000-08-15 01:13:23 +00:00
#! /usr/bin/env python
M PyShell.py M idle M idle.py M idle.pyw M setup.py Switch back to installing IDLE as a package. The IDLE GUI and the subprocess will both attempt to start up via the package mechanism, but if IDLE is not yet installed it is possible to run by calling python idle.py in the IDLE source directory, or to add the source directory to sys.path. One advantage of doing it this way is IDLE stays off sys.path. Developed in collaboration with Tony Lownds.
2002-12-24 06:36:19 +00:00
try:
import idlelib.PyShell
idlelib.PyShell.main()
except:
# IDLE is not installed, but maybe PyShell is on sys.path:
import PyShell
PyShell.main()
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 3371ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API