We are going to Learn Python, it is a powerful multi-purpose programming language created by Guido van Rossum. It has simple easy-to-use syntax, making it the perfect language for someone trying to learn computer programming for the first time. This is a comprehensive guide on how to get started in Python, why you should learn it and how you can learn it. However, if you knowledge of other programming languages and want to quickly get started with Python.
- How to Install Python:
- Go to www.python.org
- Select Your Python Version Based on Your Operating Systems and it's Processer like (intel,AMD ..ect).
- Basic Commands In Python:
- To Check weather you Python is installed or not COMMAND: where python NOTE: It will give you the Location of a python.exe file in your local machine.
- To Check how many Pacakage your Installed in you System COMMAND: pip list
- To Install new package in the Machine COMMAND:pip install Eg: pip install numpy How to install Package with Perticular Version is COMMAND: pip install numpy==1.16.0. How to install Multiple Package one Time pip install package1,package2,.......... pip install SomePackage==1.0.4 # specific version pip install "SomePackage>=1.0.4" # minimum version
- How to uninstall Packages in machine COMMAND: pip uninstall Eg: pip uninstall numpy
- Command to help form Python is help()
- Command to show all files in package is COMMAND: pip show --file