Enhanced IDLE (IDE for Python)
Python 2.7
(Not compatible with 3.x yet)regex
Back up idlelib
directory just in case
(found in /usr/lib64/python2.7/
or C:\Python27\Lib
)
Replace idlelib/*.*
by papyrus-master/*.*
Copy papyrus-master/*/
to idlelib/
Download and install regex
module
$ pip install regex
If you don't use pip
, you can download from the link above.
-
Enhanced syntax highlight
Menu bar > Highlight > (FavoriteLanguage)
- colorize special characters in string and numeric literals
- compatible with C, C++, Python, Markdown, and Brainf*ck
- Github-like theme
Menu bar > Options > Configure IDLE > Highlighting Theme > _Github
-
Show line number
Menu bar > Options > Line Number
(but not good enough, especially in UNIX) -
Compile in editor
Menu bar > Run > Compile Code
orF7
Key- Only in C or C++ mode
- You must install
gcc
org++
in advance
-
Run in editor
Menu bar > Run > Run Code
orF8
Key- like a 'code test' in AtCoder
- 'papyrus' suggests paper, or editor
- 'papyrus' contains substring 'PY', since written in
Python
-
highlighted improperly
- Recolorize from
Menu bar > Highlight > (FavoriteLanguage)
- Recolorize from
-
displayed font improperly (like proportional fonts)
- Relaunch
- Change font from
Menu bar > Options > Configure IDLE > Fonts/Tabs > Font Face
- Correct line number on UNIX
- Retouch parenmatch for C and C++
- Make compatible with other languages
- Twitter:
@rsk0315_h4x