What You Need!
Install Python from its official website.
It comes with its IDLE code editor.
You can also use Notepad++ or Microsoft's Visual Basic to edit python codes.
Install Python from its official website.
It comes with its IDLE code editor.
You can also use Notepad++ or Microsoft's Visual Basic to edit python codes.
To create a new file: click File, New File.
To run python codes from the IDLE editor:
click Run, Run Module; or F5
You can also run python codes from a command shell;
open a command shell
and type python filename.py
.
(To edit an existing python file in IDLE, right-click on the file and select
Edit with IDLE).
Notice: Our colour coding follows that of Python's IDLE.
Python's IDLE has no auto-completion for braces and quotes though,
so feel free to use Notepad++.
(To turn auto-completion on in Notepad++, click on
Settings >> Preferences >> Auto-Completion.)