This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2019年08月14日 03:37 by Edwin Pratt, last changed 2022年04月11日 14:59 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg349638 - (view) | Author: Edwin Pratt (Edwin Pratt) | Date: 2019年08月14日 03:37 | |
If I am typing some Python code in the IDLE, for example a function:
def sayHi(name):
print('Hello ', name)
and I execute the function:
sayHi('Ed')
I can not edit the function or execute a previous line of code again if I tap the up arrow on my keyboard. It seemed to work in the previous versions of Python. In order to execute a previous line of code I have to either copy it, or type it in again.
|
|||
| msg349655 - (view) | Author: Terry J. Reedy (terry.reedy) * (Python committer) | Date: 2019年08月14日 06:51 | |
There are two ways to navigate history. 1. Shell menu, Previous History and Next History, which show the hot keys on your system. The hot keys can be customized with Options, Settings, Keys tab, history_prev, history_next. This is easily found by looking through the menu or the first part of the IDLE doc (Help, IDLE Help). 2. Click on previous line and hit Return. Should be somewhere in the IDLE Doc. #2704 includes a proposal to change arrow key behavior. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:59:19 | admin | set | github: 82028 |
| 2019年08月14日 06:51:52 | terry.reedy | set | status: open -> closed versions: + Python 3.9, - Python 3.7 superseder: IDLE: Patch to make PyShell behave more like a Terminal interface messages: + msg349655 resolution: duplicate stage: resolved |
| 2019年08月14日 03:37:15 | Edwin Pratt | create | |