Python Software Installation:
Python software is free to download.
Python software can be downloaded from www.python.org.
Step 1 - Go to this link and download Python.
step 2 - And then go to your download folder → double click → select the ADD PYTHON.EXE to PATH → install now.
Step 3 - After downloading the Python software, verify if the Python software is installed.
Open the command prompt —> python --version
Windows → search IDLE
Python software provide the following things :
IDLE: IDLE stands for Integrated Development Learning Environment. It is also called an IDE (Integrated Development Environment). It is a code editor provided by Python software.
When you install Python, it automatically downloads Python libraries.
The Python shell is a single-line command line Python interface, also called a REPL (Read-Evaluate-Print Loop).
Python tools:
Python debugger
Python package installer (PIP)
Third-party code editor :
Jupyter, PyCharm, VSCode, IDLE, Spyder, Google Colab (cloud)
Python distribution :
Python distribution means a ready-made package, so if you install it, all the tools are downloaded automatically.
Types of Python distribution:
Official Python distribution: It is a simple Python, best for coding.
Anaconda: It is used by data science and artificial intelligence learners.
Miniconda: It is a smaller version of Anaconda, meaning all the basic tools are included.
PyPy: It is for faster execution compared to normal Python.
MicroPython: It is used for embedded systems, e.g., Arduino, Raspberry Pi, etc.
Python working modes :
Interactive mode :
In interactive mode, Python developers work with the Python shell. It is used just for testing purposes, not for developing programs.
Scripting mode :
In scripting mode, Python developers work with Python. It is used for development purposes.
Note :
A Python program is a file with the extension .py
Every Python program is called a module.
A program written in a high-level language is called a source program.
Steps for writing program :
Open IDLE —> Click on file —> select new file
Write the code —> file —> save —> select the folder —> write the name of that file
run —> run module
note : in file editor show run not in the file .
Download the VS code :
https://code.visualstudio.com/download