Module – Module or library is a file that contains definitions of several functions, classes, variables, etc. which is written by someone else for us to use.
We use modules for making our work easy and modules are enough to save your time and energy.
If you want to use modules you have to install it for installing modules follow These steps:-
First:-
install python with going to python.org(official website of python)
Second:-
Check the add pip to path on installing python
Third:-
Now, you can install any module to install modules
WRITE:-
Pip install “module name that you want to install”
On windows powershell
SOME EXAMPLES OF INSTALLING PYTHON MODULE:-
1. Pip install pygame
2. Pip install pyaudio
3. Pip install flask
4. Pip install pandas
5. Pip install web browser
6. Pip install Wikipedia
7. Pip install speech recognition
8. Pip install pywin32
9. Pip install pyttsx3
10. Pip install sklearn
THESE ARE SOME EXAMPLES OF INSTALLING PYTHON MODULE.
NOW, AFTER INSTALLING IT YOU HAVE TO USE IT IN YOUR PROGRAM
TO USE:-
WRITE– import “name of module you want to use”
@codeX__
#1 python programming tutorials
#introduction to python
Python is an interpreted high-level general-purpose programming language. Its design philosophy emphasizes code readability with its use of significant indentation. Its language constructs as well as its object-oriented approach aim to help programmers write clear, logical code for small and large-scale projects.
Python is dynamically-typed and garbage-collected. It supports multiple programming paradigms, including structured (particularly, procedural), object-oriented and functional programming. It is often described as a “batteries included” language due to its comprehensive standard library.
Guido van Rossum began working on Python in the late 1980s, as a successor to the ABC programming language, and first released it in 1991 as Python 0.9.0. Python 2.0 was released in 2000 and introduced new features, such as list comprehensions and a garbage collection system using reference counting. Python 3.0 was released in 2008 and was a major revision of the language that is not completely backward-compatible. Python 2 was discontinued with version 2.7.18 in 2020.
@codeX__