#13 Python Tutorial for Beginners | IDLE Previous Command | Clear Screen?
Accessing Previous Commands in IDLE
In this video, Ivan Ready explains how to access previous commands in IDLE, a Python Integrated Development Environment (IDE). He compares the process of accessing previous commands in IDLE with that of Command Prompt on Windows.
Accessing Previous Commands
- To access the last command entered, click on the up arrow key after configuring it as the history key.
- Unlike Command Prompt on Windows, there is no default option to access previous commands in IDLE.
- To configure the history key for accessing previous commands, go to Options > Configure IDLE > Keys and select "Get New Keys for Selection" and choose the up arrow key.
Clearing Screen
- Unlike Command Prompt on Windows where you can clear screen using "cls" command, there is no such command available in IDLE.
- The only way to clear screen in IDLE is by closing and reopening it.
Additional Information
- Ivan mentions that he has not scrolled through IDLE while recording his videos but has added an animation effect to show scrolling up. He also invites viewers to share any hidden script or technique if they know how to scroll through IDE without using a mouse or keyboard.