Explore the Python 3 standard library. Learn how to take advantage of its built-in modules to calculate statistics, format dates and times, get content from the internet, and more.
Overview
Syllabus
Introduction
- Make writing Python easier with Python standard libraries
- What you need to know
- Using exercise files
- How to use CoderPad
- Python standard library introduction
- Logical operators: And, or, not
- Comparison operators
- Calculating length
- Range and list
- Min and max
- Rounding, absolute value, and exponents
- Sorted function
- Type functions
- Solution: Count valid numbers
- Trigonometry, ceiling, floor, and constants
- Factorial, square root, and GCD
- Python random module
- Calculating statistics with Python
- Iterators with itertools: Infinite processes
- Iterators with itertools: Permutations and combinations
- Solution: Calculate hypotenuse
- Command-line arguments
- Input and output
- Files and file writing
- File seeking in Python
- Iterative files
- Tempfile module
- Manipulate zip files in Python
- Solution: Count words in a file
- Getting the current time with Python
- Formatting dates and times in Python with datetime
- Calculating future times and Python calendar module
- Create a timer with the Python time module
- Python HTML parser module
- Text wrap module
- Python HTTP package and urllib and JSON modules
- Solution: Add Fractions with Fraction Module
- Add these built-in functions to your own applications
Taught by
Kathryn Hodge