usingMaths.com
From Theory to Practice - Math You Can Use.







<< PreviousNext >>

Getting Started with Python Coding for Beginners and Primary Students



Primary-Level Python Coding Prerequisites - What You Need!

Before you begin coding in Python as a beginner or primary student, it's important to understand how Python IDLE works. This beginner Python tutorial will guide you through setting up your development environment.
Install Python from its official website.
It comes with its IDLE code editor.

You can also use Notepad++ to edit python codes.
For professional use and purpose, JetBrain's PyCharm or Microsoft's Visual Studio Code is recommended.


Using Python's IDLE for Primary Students

If you are a beginner or primary student, creating a new file on IDLE is simple:
Click File, New File.

For the beginners or primary students, to run python codes from the IDLE editor is straight-forward:
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 Python 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.)


Introductory Python Tutorial for Primary Students

For a beginner-friendly Python tutorial for kids and primary students, summarised to only the key facts to help young learners comprehend the Python language and get started with utilising Python for coding, check our A beginner's Tutorial and Guide to the Python Programming Language from the Primary Category.









<< PreviousNext >>