Installing the Python programming language
Python is a free language that is easy to learn, has a large library, and is used for websites, apps, games and artificial intelligence. Download it only from the official site, the Downloads section of python.org: installers from unknown sites may contain harmful software, and copies obtained by piracy are illegal; an adult or the school IT person should help with the installation. Choose the installer for your operating system with the latest stable Python 3 version; on Windows tick “Add python.exe to PATH” in the installer window and then click “Install Now”. After installation you open IDLE from the start menu. In the interactive environment you type a command after the >>> sign and press Enter, and the result appears at once; it also works as a calculator. The programming environment is opened with File → New File, the code is written there, saved with File → Save and run with Run → Run Module (or F5); a program cannot be run without saving it. Note: on this site code with several lines is written on one line – the sign ⏎ marks the start of a new line (press Enter there in IDLE), and the blank space after ⏎ is the indentation at the start of the line (4 spaces per level); the ⏎ sign itself is not typed into the code.
In the school computer room a pupil installed software, with the teacher’s permission, only from the place the school named. As a result no unknown program reached the computer.
System administrators, teachers and programmers install software only from a trusted source.
Imagine an advert says “free program – download now”. On paper write three things you would check before doing anything, and the person you would ask. Do not click or download anything.
1print("Mening birinchi dasturim")Mening birinchi dasturim
“Safe installation list”: the group makes a list of “what not to do when downloading Python” (unknown site, unknown file, installing without an adult) and puts the right steps in order.