#Learn #Python: Modules & Packages #Tutorial | #Beginner #Friendly

in #python β€’ 3 days ago

▢️ Watch on 3Speak


Learn Python Basics Together πŸš€ | Day 5

Welcome back to our beginner-friendly Python learning series!

In today's video, we learn:
βœ… Modules and Packages in Python
βœ… Importing Functions from Another File
βœ… Python Input and Output Basics

This video is suitable for:

  • 8th Standard
  • 9th Standard
  • 10th Standard
  • 11th Standard
  • 12th Standard
  • CBSE Board Students

Language: English

Topics Covered

βœ… What are Modules in Python
βœ… Creating a Custom Python Module
βœ… Importing Python Files
βœ… Using Functions from Another File
βœ… import vs from import
βœ… Importing Specific Functions
βœ… Importing All Functions using *
βœ… Custom Import Names using as
βœ… Understanding __main__
βœ… Avoiding Naming Conflicts
βœ… Python Input Function
βœ… Typecasting Input Values

What We Practiced

In this session we:

  • Created a custom maths.py module

  • Added functions like:

    • Addition
    • Subtraction
    • Division
    • Multiplication
  • Imported functions into another Python file

  • Tested imported functions

  • Learned how Python executes imported files

  • Used if __name__ == "__main__" for safe execution

  • Took user input using input()

  • Converted values into integers

Important Learning

One of the most important concepts covered in this video:

πŸ‘‰ Modules help us organize code better.

Instead of writing everything in one file:

  • We can split code into reusable files
  • Import only what we need
  • Keep projects clean and manageable

We also discussed:

  • Why writing code manually matters
  • Why experimenting with code helps learning
  • How naming conflicts can happen in imports

Exercise for You

Try this yourself πŸ‘‡

βœ… Create your own module
βœ… Add a remainder function (%)
βœ… Import it into another file
βœ… Try creating naming conflicts and observe what happens

Share your results in the comments section!

Tools Used

  • Python
  • VS Code
  • Python Extensions

About This Series

This is a learn-together Python series where we:

  • Learn Python step by step
  • Practice coding together
  • Make mistakes and fix them
  • Build strong programming fundamentals

πŸ‘ Like the video
πŸ“Œ Subscribe for upcoming Python tutorials
πŸ”” Turn on notifications for the next video

#Python #LearnPython #PythonModules #PythonPackages #PythonTutorial #PythonBeginners #Programming #Coding #VSCode #PythonForStudents


▢️ 3Speak


via Apps from

Sort: Β 
Congratulations, your post has been added to The WorldMapPin Map! πŸŽ‰



You can check out this post and your own profile on the map. Be part of the Worldmappin Community and join our Discord Channel to get in touch with other travelers, ask questions or just be updated on our latest features.