This website requires JavaScript.
Explore
Help
Sign In
Mirror
/
cpython
mirror of
https://github.com/python/cpython
Watch
4
Star
1
Fork
You've already forked cpython
0
Code
Issues
Releases
Wiki
Activity
f5243f07f6
cpython
/
Tools
/
scripts
/
idle
6 lines
95 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Put the main script for the new IDLE here.
2003-06-13 17:34:27 -03:00
#! /usr/bin/env python
from idlelib.PyShell import main
[Patch #1005491 ] use __name__ == '__main__' in scripts
2004-08-09 14:27:55 -03:00
if __name__ == '__main__':
main()