Modules and Packages with Python

Modules and Packages with Python

An introduction to modules & packages, importing, and libraries in Python. This course focuses on the usage of several notable libraries, including random, math, and datetime.

8 hours

6 assignments

4 videos



Do you need to read JSON or CSV data? Do you need to work with HTTP, APIs, or XML? Python has a module for that.

It's often said that Python comes with "batteries included". That's because Python contains a huge number of supporting libraries and modules already 'builtin'. Even if your required module is not 'builtin', it's extremely simple to install. This course will also cover virtualenvs, the pip commands, and third party modules.

"In this course, I explain the concepts of modules and packages and then progress to using both 'builtin' and third party (pip installable) modules."

Instructor Santiago Basulto

Santiago Basulto

Course Instructor


Python Modules and Packages



Using Modules

Virtualenvs and 3rd party modules


Most common stdlib modules


Random Modules Assignments

Math and statistics assignments

Datetime assignments

Simple pricing

Gain access to RMOTR’s entire course library


per month

15% OFF!


per year

  • Full access to all videos & courses.
  • 200+ programming assignments.
  • 20+ Github Projects to add to your portfolio.
  • Access to exclusive community.
  • Exclusive access to members-only webinars and workshops.
Learn more

What Our Students
Have to Say

The most trusted Data Science academy online.
1000+ students have trusted us with their Data Science careers.

Willian Ponton
William Ponton

The perfect combination of building real-world skills through challenging coursework and projects.

Aiya Akatayeva

I have tried multiple ways to learn Data Science. Now, with the lessons and practice provided here, I finally feel like I am making real progress.

Chris Mccluskey
Chris McCluskey

Clear guidance while providing detailed explanations. Greatly enhanced my knowledge in a short amount of time!

Course instructor

Santiago Basulto

Data Scientist at RMOTR

Santiago is an experienced Data Scientist and Python programmer with more than 10 years of experience in the field. He started as a Java developer working as a consultant on high performance and critical systems before moving to Python. In 2012 was hired as the CTO of, a startup analyzing data from runners. He then fell in love with Data processing with Python and in 2015 founded RMOTR, to provide expert-level Data Science training.