getting previously typed commands in python
-
11-09-2019 - |
Question
I'm using python 2.5 in windows on a macbook pro with IDLE. How do I get previously typed commands in the python shell? In other operating systems I've managed to do this using 'ctrl' + 'up arrow' or a similar combination. I've tried all likely combinations without success.
Thanks.
Solution
I just realized that I can find this out in 'Options -> Configure IDLE -> Keys'
It's 'alt + p' for IDLE. Thanks for the suggestion pfote - I will take a look.
OTHER TIPS
check if there is ipython
available on windows .. that offers line history, tab completion and many other nice features
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow