Загрузка...

2.5.3.1 Package Structure in Python | Chapter 2 | Class 11 Computer Science | practically explained

#PythonPackageStructure #PythonModules #Class11ComputerScience #PunjabTextbookBoard #PythonProgramming #FSCPart1 #ComputerScience11 #PythonLecture #PythonInUrdu #PythonInPakistan #PythonForBeginners #PythonTutorial #CSBookClass11 #pctb

Welcome to another lecture from Class 11 Computer Science (Punjab Textbook Board)!
In this video, we’ll learn about Package Structure in Python from Chapter 2 – Programming in Python.

You’ll learn:
✅ What is a package in Python
✅ How to organize modules into packages for large projects
✅ The difference between modules and packages
✅ Practical example of an ecommerce package with products.py

📘 Example Explained in Video:
We’ll create a package named ecommerce with a module products.py, and learn how to import and use it:

from ecommerce import products
available_products = products.List_products()
print(available_products)
Output: ['Laptop', 'Mobile', 'Tablet']

🎓 This video is specially designed for F.Sc Part 1 Computer Science (Punjab Board) students.
The lecture is based directly on the Punjab Textbook Board Class 11 Computer Science Book and explained in simple Urdu so you can easily understand and prepare for your exams.

💡 Don’t forget to Like 👍, Share 🔗, and Subscribe 🔔 for more Python lectures from the Class 11 syllabus!

Видео 2.5.3.1 Package Structure in Python | Chapter 2 | Class 11 Computer Science | practically explained канала InfoSphere
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять