HOW TO DOWNLOAD PYTHON IN 3 OPERATING SYSTEMS
Python:
Python is a programming, scripting and OOP-based language that allows
you to work and develop new or existing tools quickly in a faster way with
their huge community support.
And select your is an operating system and click download the latest version.
In Windows:
- After downloading the file from the official python.org website, open the file and double-click to run it.
- Click on the checkbox to add the path to the path variable.
- Change the directory if u want to, or leave it and click next to proceed.
- Click next and download all files.
- Now you have a basic idea of your IT tool to develop your tools with the help of this.
You can write code and execute it in the command prompt or in Notepad, a text editor. After writing code, save the file with the extension ".py" and execute python codes using python interpreter.
For Linux:
Go to the terminal by searching in start menu for " terminal " or by clicking
ctrl + alt + t
buttons to open the terminal.
After it types the command python to see if python is there or not, if present,
it will prompt to its shell or else type this command
sudo apt install python
It will install the basic packages that are necessary to run simple
code.
Let's write some code in Python in the terminal by running
nano helloworld.py
And type this code in its
print("hello world")
Close it by clicking Ctrl + X and Y.
Run the file using this command
python helloworld.py
It will execute and show the output as hello world in the terminal.
Books to learn Python programming:
0 Comments
If you have any doubts or any topics that you want to know more about them please let me know