Python Tutorials
- Python
- How to install Python?
- PIP
- How to Run Python Program
- Python Identifiers,Statement, Indentation and Comments
- Variable
- Data type
- Decision Making
- Python Loops
- Break,Continue, Pass
- Functions
- Predefine Functions
- Lambda Functions
- Variable Scope
- List
- Tuple
- Python Sets
- Python Dictionary
- Python String
- String Formating
- Input/Output
- File Handling (Input / Output)
- Iterators
- Python Modules
- Python Date
- Python JSON
- Classes and Objects
- Constructor
- Polymorphism
- Encapsulation
- inheritance
- Class or Static Variables in Python
- class method vs static method
- Abstraction
- Exception Handling
- MySql Python
- MySql Create Database
- MySql CRUD
- Django
How to install Python?
Download Python
File name : index.php
Run Executable Installer
Select Install Now
Verify Python Was Installed On Windows
Navigate to the directory in which Python was installed on the system. In our case, it is C:\Users\Username\AppData\Local\Programs\Python\Python37 since we have installed the latest version.
Double-click python.exe.
Verify Pip Was Installed
File name : index.php
Open the Start menu and type “cmd.”
Select the Command Prompt application.
Enter pip -V in the console. If Pip was installed successfully, you should see the following output:
Add Python Path to Environment Variables (Optional)
File name : index.php
Open the Start menu and start the Run app.
run dialog box
2. Type sysdm.cpl and click OK. This opens the System Properties window.
3. Navigate to the Advanced tab and select Environment Variables.
4. Under System Variables, find and select the Path variable.
5. Click Edit.
6. Select the Variable value field. Add the path to the python.exe file preceded with a semicolon (;). For example, in the image below, we have added “;C:\Python34.”
How to add the Variable Value durring python3 windows installation.
7. Click OK and close all windows.
By setting this up, you can execute Python scripts like this: Python script.py
Instead of this: C:/Python34/Python script.py
Install virtualnv (Optional)
File name : index.php
To install virtualnv:
1. Open the Start menu and type “cmd.”
2. Select the Command Prompt application.
3. Type the following pip command in the console:
C:\Users\Username> pip install virtualenv
Python IDE
File name : index.php
10 Best Python IDE & Python Code Editors
Pydev.
Pycharm.
Sublime Text.
Visual Studio Code.
Vim.
GNU/Emacs.
Atom/Atom-IDE.
IDLE.
Python IDE
File name : index.php
PyCharm
Spyder
PyDev
Atom
Wing
Jupyter Notebook
Thonny
Rodeo
Microsoft Visual Studio
Eric
Learn Visual Studio Code IDE
File name : index.php
How to check python version
File name :
py --version
################## OR ##############
python --version
How to check pip version
File name :
pip --version
pip 20.2.3 from c:\program files\python39\lib\site-packages\pip (python 3.9)