Python is an interpreted, object-oriented, high-level programming language.
Python is a case-sensitive by Nature.
Python Software Foundation is an organization which is behind the Python.
Python used most in
- Web development.
- Desktop GUIs.
- AI and machine learning.
- Data Science.
- Game Development.
Python Features
1. Python allows you to assign values to multiple variables in one line
Example: x, y, z = "Orange", "Banana", "Cherry"
Python Interpreter
Interpreter reads Python programs and convert into machine instructions;
Python installer bundled with python interpreter and IDE .
install the Python interpreter on your computer.
Python Launcher
The Python launcher is a feature which track all Python version installed in machine and handle to execute program of different Python versions.
how to check Python launcher installed or not
From the command-line type
C:\Users\manoj>py |
Python 3.10.1 (tags/v3.10.1:2cd268a, Dec 6 2021, 19:10:37) [MSC v.1929 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>>
|
You should find that the latest version of Python you have installed
If multiple versions of Python installed try with specific version
C:\Users\manoj>py -2.7 |
Requested Python version (2.9) is not installed |
If you see the following error, you do not have the launcher installed:
'py' is not recognized as an internal or external command, operable program or batch file. |
key benefit: a single launcher can support multiple Python versions at the same time.
how to check pip installed or not
From the command-line type
C:\Users\manoj>pip --verion |
C:\Users\manoj>pip --version pip 21.2.4 from C:\Users\manoj\AppData\Local\Programs\Python\Python310\lib\site-packages\pip (python 3.10) |
IPython: Interactive Python
Frequently Asked Questions
- Simple and easy to learn .
- Open source .
- Plateform independent .
- Secure .
- Embeded .
- Compiled and intrepreted .
- Roboust .
- Large library and framworks .