forked from python/cpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
5 changed files
with
35 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
#! /usr/bin/env python | ||
|
||
import PyShell | ||
PyShell.main() | ||
try: | ||
import idlelib.PyShell | ||
idlelib.PyShell.main() | ||
except: | ||
# IDLE is not installed, but maybe PyShell is on sys.path: | ||
import PyShell | ||
PyShell.main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
#! /usr/bin/env python | ||
|
||
import PyShell | ||
PyShell.main() | ||
try: | ||
import idlelib.PyShell | ||
idlelib.PyShell.main() | ||
except: | ||
# IDLE is not installed, but maybe PyShell is on sys.path: | ||
import PyShell | ||
PyShell.main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
#! /usr/bin/env python | ||
|
||
import PyShell | ||
PyShell.main() | ||
try: | ||
import idlelib.PyShell | ||
idlelib.PyShell.main() | ||
except: | ||
# IDLE is not installed, but maybe PyShell is on sys.path: | ||
import PyShell | ||
PyShell.main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters