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







<< Previous Next >>

Getting Started with Python Coding for Beginners and Junior Secondary Students



Junior-Level Python Coding Prerequisites - What You Need!

Before you begin coding in Python as a beginner or junior secondary 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 Junior Secondary Students

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

For the beginners or junior secondary 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 Junior Secondary Students

For a beginner-friendly Python tutorial for kids and junior secondary 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.









<< Previous Next >>