Learn how to use and create Python modules, from basic imports to advanced concepts
This exercise includes
Technical SkillsTry this exercise
Create an account and get immediate access to this exercise
Already have an account?
Skill level
BEGINNER
Time to complete
6 hours
Access
Free
Prerequisites
None

See the content included in this exercise
Learn what Python modules are and how they help you reuse and organize code. Explore entry points and built-in modules like math and random.
Learn what an entry point is in Python and complete the main function in app.py to greet the user based on their name.
Learn to create your own Python modules by packaging related functions and variables into .py files to organize and reuse your code.
Learn what circular imports are in Python, why they cause problems, and how to fix them by reorganizing code or using deferred imports.


Continue learning about this exercise's topics
Learn how to use and create Python modules, from basic imports to advanced concepts
Try this exercise
Exercises and examples for linear algebra using Python and NumPy, covering topics such as vectors, matrices, and linear transformations.
Try this exercise
Learn Object Oriented Programming concepts using Python, from basic to advanced topics. This tutorial covers classes, inheritance, polymorphism, encapsulation, and more. Ideal for beginners and experienced developers looking to deepen…
Try this exerciseMaster Python best practices through hands-on exercises covering clean code, testing, error handling, and code organization. Perfect for developers looking to write more maintainable and professional Python code.
Try this exercise
Practice Python Lists and tuples (arrays) with interactive auto-graded exercises and video solutions
Try this exercise
Learn and master functional programming by doing auto-graded interactive exercises.
Try this exercise