The standard library includes a wide selection of useful modules for a great variety of uses. These are included in your default Python installation.
- [Instructor] The Python Standard Library includes…a wide selection of modules available for your use…in a standard Python installation.…If we scroll down here you see,…this is the whole library so it also includes functions,…and classes, and all kinds of things;…but starting in section six, these are all modules.…And for example,…here's the documentation for the sys module,…and this is system-specific parameters and functions.…
And so you have many, many things you can do.…So let's take a look at how this works.…Here in Komodo I've opened a working copy of modules.py…from chapter 14 of the exercise files…and you notice the import statement,…that's where I import a module,…and then I use a module like this just as any other object.…I say sys dot and version_info is an element…inside of the class of the module…and version_info returns a collection of information,…and so I can use it with an asterisk here…and it will give me a list of parameters,…and in this case the list of three for the…major, minor, and minor parts of the Python version number.…
- Python anatomy
- Types and values
- Conditionals and operators
- Building loops
- Defining functions
- Python data structures: lists, tuples, sets, and more
- Creating classes
- Handling exceptions
- Working with strings
- File input/output (I/O)
- Creating modules
- Integrating a database with Python db-api
Skill Level Intermediate
Python: Programming Efficiently (2017)with Michele Vallisneri2h 15m Intermediate
2. Language Overview
3. Types and Values
8. Structured Data
11. String Objects
12. File I/O
13. Built-in Functions
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.