FREE ONLINE INTERACTIVE COURSE

Python 3

FOR BEGINNERS

Installing the Python 3 programming environment

Where, how, what?

Well, simple ... let's go to the official Python language page, the Downloads section, which has the URL below:

[https://www.python.org/downloads/]

I chose the latest version currently available at that moment, Python 3.8.1, but we are notified when downloading that any version above 3.5 cannot run on the Windows XP operating system (so I recommend 3.4.10 in that case).

Press the appropriate button, save the file and then open it:



After the file has been run, a window will appear where I recommend that you check the option below to automatically add the necessary system variables:



Start the installation process by pressing the button:



(Pressing the Install Now button will only install Python for the current user, and the working mode will be somewhat difficult)

Leave everything checked in the first window:



In the second window, however, check the Install for all users option:



Thus, the installation location will be in the location "C:\Program Files\Python38-32", accessible to all users (in my case, version 3.8, 32-bit operating system).

Click the Install button. At the end, if everything was ok, then press Close.

Okay, ready! Now what? Where is Python 3?

The environment is successfully installed on your system, but by default you have no shortcut to Python on your Desktop, as you might expect. The operating system shown is Microsoft Windows , so we press the Start button, then type "IDLE" in the search bar, then select (in my case):



Note. IDLE means Integrated Development and Learning Environment.

The following window will open:



Super! From now on we can write our own code in Python!

Above you have the command line, the console (Interactive Python Shell), and the current position is indicated by the three characters ">>>" and the cursor. Type "3 + 5" and press the Enter key,



and Python will immediately display the result.

Quick access to Python IDLE

I recommend that you open the folder where you installed Python, in my case:
C:\Program Files\Python38-32
then "Lib" and inside, "idlelib", where you will find the location of the file named "idle.bat", associated with IDLE. Create a Desktop shortcut to this program:


I named the shortcut "Python IDLE". This allows us to easily open the Python programming environment directly from our computer's Desktop.

Ready! We are done!

From now on you can work in Python 3!
 arrow_back   home   list   arrow_upward