Use the command previously entered in IDLE

If I want to test the code a little with Python, I use IDLE that comes with the installation, but I can't remember the shortcuts, so I'm having trouble every time.

If you enter code like this, yield is faster to edit from history. ..

yield_test.py


def yield_test():
    yield "Number one"
    yield "Number two"
    yield "Number three"

** Shortcut ** Alt + P: Return history Alt + N: Advance history

Recommended Posts

Use the command previously entered in IDLE
I can't use the darknet command in Google Colaboratory!
In the python command python points to python3.8
Use the type features evolved in Sphinx-2.4
Learn the design pattern "Command" in Python
[Linux] How to use the echo command
How to use the Linux grep command
Resolve the Address already in use error
3 best ways to use the less command
Use the LIKE clause in golang x SQLite3
Use the latest pip in a virtualenv environment
Find the divisor of the value entered in python
Use the LibreOffice app in Python (3) Add library
Use pygogo to get the log in json.
[For beginners] How to use say command in python!
Linux user addition, how to use the useradd command
Use the CASA Toolkit in your own Python environment
How to use the grep command and frequent samples
Let's use the open data of "Mamebus" in Python
(Remember quickly) How to use the LINUX command line
I want to use the R dataset in python
Use config.ini in Python
Use DataFrame in Java
Use dates in Python
Use Mean in DataFrame
Use Valgrind in Python
About the service command
Use ujson in requests
Install the pip command
Use profiler in Python
When the variable name conflicts with the Devaga command in pdb
Survey on the use of machine learning in real services
How to use the __call__ method in a Python class
Check in advance what happens when you execute the command
About the number (section number) in () displayed by the Linux man command
Notes on how to use marshmallow in the schema library