Python
modules
Work on real-life coding environments with LearnPack.
Get instant help with our AI mentor: Rigobot.
No installation, you go directly to programming
Difficulty
beginner
Average duration
6 hrs
Difficulty
beginner
Average duration
6 hrs
Difficulty
beginner
Average duration
6 hrs
Difficulty
beginner
Average duration
6 hrs
Difficulty
beginner
Average duration
6 hrs
Difficulty
beginner
Average duration
6 hrs
Welcome to the Python Modules Tutorial! π
In this tutorial, you'll learn everything you need to know about Python modules - from basic imports to creating your own modules. This tutorial is perfect for beginners who want to organize their code better and use Python's awesome built-in features!
This tutorial is divided into major topics (like "01-intro-to-modules") and smaller practice exercises (like "01.1-your-first-import"). Each section builds on what you learned before, so it's best to follow them in order!
You can directly open this tutorial in Codespaces for an easy, cloud-based environment. This allows you to start working on the exercises without needing to set up anything on your local machine.
1$ npm install @learnpack/learnpack -g
1$ git clone https://github.com/4GeeksAcademy/python-modules-tutorial 2$ cd python-modules-tutorial
1$ learnpack start
If you get stuck:
Happy coding! π
Difficulty
beginner
Average duration
6 hrs
Difficulty
beginner
Average duration
6 hrs