Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Learning the Python 3 Standard Library

via LinkedIn Learning

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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.

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
1. Python: What's Built In?
  • 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
2. Python: Math
  • 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
3. Python Input/Output
  • 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
4. Python: Date and Time, HTML Parsing, and HTTP
  • 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
Conclusion
  • Add these built-in functions to your own applications

Taught by

Kathryn Hodge

Reviews

4.7 rating at LinkedIn Learning based on 555 ratings

Start your review of Learning the Python 3 Standard Library

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.