Learning the Python 3 Standard Library
2h 16mBeginner2022-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 - How to use CoderPad
- 05 - Python standard library introduction
1. Python - What's Built In
- 06 - Logical operators - And, or, not
- 07 - Comparison operators
- 08 - Calculating length
- 09 - Range and list
- 10 - Min and max
- 11 - Rounding, absolute value, and exponents
- 12 - Sorted function
- 13 - Type functions
- 14 - Solution - Count valid numbers
2. Python - Math
- 15 - Trigonometry, ceiling, floor, and constants
- 16 - Factorial, square root, and GCD
- 17 - Python random module
- 18 - Calculating statistics with Python
- 19 - Iterators with itertools - Infinite processes
- 20 - Iterators with itertools - Permutations and combinations
- 21 - Solution - Calculate hypotenuse
3. Python Input Output
- 22 - Command-line arguments
- 23 - Input and output
- 24 - Files and file writing
- 25 - File seeking in Python
- 26 - Iterative files
- 27 - Tempfile module
- 28 - Manipulate zip files in Python
- 29 - Solution - Count words in a file
4. Python - Date and Time, HTML Parsing, and HTTP
- 30 - Getting the current time with Python
- 31 - Formatting dates and times in Python with datetime
- 32 - Calculating future times and Python calendar module
- 33 - Create a timer with the Python time module
- 34 - Python HTML parser module
- 35 - Text wrap module
- 36 - Python HTTP package and urllib and JSON modules
- 37 - Solution - Add Fractions with Fraction Module
Conclusion
- 38 - Add these built-in functions to your own applications