YoVDO

Learning the Python 3 Standard Library

Offered By: LinkedIn Learning

Tags

Python Courses Mathematics Courses Statistics & Probability Courses File Handling Courses

Course Description

Overview

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

Related Courses

Introduction to Logic
Stanford University via Coursera
Networked Life
University of Pennsylvania via Coursera
Introduction to Mathematical Thinking
Stanford University via Coursera
Computational Photography
Georgia Institute of Technology via Coursera
Initiation à la théorie des distributions
École Polytechnique via Coursera