Python Installation Farsi Version
-
To check and run python:
- Open a Terminal
- Type
pythonand press ENTER - If you can see something like this
Python 3.10.5 (tags/v3.10.5:f377153, Jun 6 2022, 16:14:13) [MSC v.1929 64 bit (AMD64)] on win32, then you have python and you don't have to install it.
-
To run python program:
- Make a
.pyfile for example inc:\main.py - Write your code inside
c:\main.py - Open a terminal and type
python c:\main.pyto run your application directly
- Make a
-
To install python:
- In Windows:
- Download python from its official website
- Important: At the time of installation of python, tick
Add python 3.10 to PATHand then continue the installation. 
- In Windows:
- To install
jupyter, open a terminal (Search forCMDin windows) and type and enter this command:python -m pip install jupyteror simply usepip install jupyter - Then to run your
notebookopen a terminal and enter this command:jupyter notebook
- Download and install vscode from its official website.
- After installing this you need to install extensions for python and jupyter