Learning the Python 3 Standard Library
2h 10mBeginner2022-01-20
Authors

Kathryn Hodge
Software Developer
Course details
Python libraries can cut your development time and reduce your frustration with coding. In this Python 3 course, follow Kathryn Hodge as she walks through the Python standard library. Discover how familiarizing yourself with its facilities can make writing code in this concise, elegant language a little easier. Familiarize yourself with the library's built-in functions, math modules, and input and output modules. Learn how to get information from the Internet with the HTTP module, and more.
Learning objectives
Working with logical and comparison operators
Getting a list of numbers with the range() and list() functions
Using mathematical functions such as round(), abs(), and pow()
Calculating a given input's length
Importing and using the math module
Reading a user's command-line arguments
Getting the current time
Formatting dates and times with datetime
Creating a timer
Using urllib to get content from the Internet
Using the JSON module to decode content
Learning objectives
Working with logical and comparison operators
Getting a list of numbers with the range() and list() functions
Using mathematical functions such as round(), abs(), and pow()
Calculating a given input's length
Importing and using the math module
Reading a user's command-line arguments
Getting the current time
Formatting dates and times with datetime
Creating a timer
Using urllib to get content from the Internet
Using the JSON module to decode content
Skills covered
PythonProgramming LanguagesOpen SourceSoftware DevelopmentOne-Off
Concepts
0. Introduction
- 01 - Make writing Python easier with Python standard libraries
- 02 - What you need to know
- 03 - Using exercise files
- 04 - Python standard library introduction
1. Python - What's Built In
- 05 - Logical operators - And, or, not
- 06 - Comparison operators
- 07 - Calculating length
- 08 - Range and list
- 09 - Min and max
- 10 - Rounding, absolute value, and exponents
- 11 - Sorted function
- 12 - Type functions
2. Python - Math
- 13 - Trigonometry, ceiling, floor, and constants
- 14 - Factorial, square root, and GCD
- 15 - Python random module
- 16 - Calculating statistics with Python
- 17 - Iterators with itertools - Infinite processes
- 18 - Iterators with itertools - Permutations and combinations
3. Python Input Output
- 19 - Command-line arguments
- 20 - Input and output
- 21 - Files and file writing
- 22 - File seeking in Python
- 23 - Iterative files
- 24 - Tempfile module
- 25 - Manipulate zip files in Python
4. Python - Date and Time, HTML Parsing, and HTTP
- 26 - Getting the current time with Python
- 27 - Formatting dates and times in Python with datetime
- 28 - Calculating future times and Python calendar module
- 29 - Create a timer with the Python time module
- 30 - Python HTML parser module
- 31 - Text wrap module
- 32 - Python HTTP package and urllib and JSON modules
Conclusion
- 33 - Add these built-in functions to your own applications
Related courses
- Python for Data Science and Machine Learning Essential Training Part 1
- Artificial Intelligence Foundations: Neural Networks
- Build with AI: AI-Powered Dashboards with Streamlit
- Build with AI: LLM-Powered Data Analysis App with Python and Streamlit
- Complete Guide to Analytics Engineering
- Build with AI: LLM-Powered Applications with Streamlit
- Hands-On AI: Building Your First LLM-Powered App
- Advanced Geospatial Data Analytics in Python