In this Python for beginners tutorial we are going to learn the following:
How to import a Python module from the Python Standard Library.
How to use a Python module from the Python Standard Library.
In this video, we are going to learn how to use Python modules other developers and teams have written.
As we discussed in the previous video, a module is simply a Python file containing a collection of functions, variables, and classes (a topic we will explore in a future course).
In the previous video, we learned how to create our own modules. Luckily for us, Python comes with a huge collection of modules that we can use without having to write them ourselves. This collection of modules is the Python Standard Library, which counts more than 200 modules!
Here is a short list of useful modules in the Standard Library:
math – mathematical functions
time: time access and conversions
random: generators of pseudo-random numbers
turtle: An educational framework for developing simple graphics applications.
#pythoncourse #pythontutorial #programmingwithnick