Learn Python and Install Instructions





Part 1



Unless you have Python installed, you can follow the next guide.

1: first check if python is installed, Applications > Utilities and click on Terminal

2: or you can go to the windows search bar and type cmd.exe, and run the next command:


Code Example:

                  
                   python --version
                
                

If Python is installed you will see the following text (Unless you have other version installed.)


Code Example:

Python 3.7.5




to check if you have python installed For linux and mac type the same text:


Code Example:

                  
                  python --version
                
                


You can install Python using this link: https://www.python.org/






Part 2

How to start coding


Run Python in Immediate mode


Once you installed python, type python in the command line, and start programming, click enter to see results.



Code Example:

C:\Users\your name>python Python 3.7.5 (tags/v3.7.5:5c02a39a0b, Oct 15 2019, 01:31:54) [MSC v.1916 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> // type code here and press enter;





Thonny IDE


the other method is using Thonny IDE.


that software comes with the latest version of Python in it. So you don't have to worry about it.


Download it here https://thonny.org/


File > New, then save the file with .py extension, like, freecodewiki.py


Write Python code in the file and save it.


Go to Run > Run current script or simply click F5 to run it, that it.



with FreeCodeWiki, you can learn Python programming and many other Python classes for free , our main goal is to allow students to learn Python and other online coding courses in one place without paying and from your home.



Navigation