Python基础 · free preview

Modules and the Standard Library

Import functions from modules, reach for standard-library tools like math, random, collections, and datetime, and understand how pip and virtual environments fit in outside the browser.

1. Overview

Overview

2. Importing a Module

Importing a Module

3. Importing Names Directly

Importing Names Directly

4. The Standard Library Toolbox

The Standard Library Toolbox

5. Installing Packages Outside the Browser

Installing Packages Outside the Browser

6. Top Words

Top Words

7. A Week of Dates

A Week of Dates

Practice this interactively

Free account · instant grading · spaced review that schedules itself.

Start this course for free