A structured repository dedicated to tracking my daily progress in Python programming, focusing on automation, logic building, and efficient scripting.
For better maintainability and clear progression tracking, the repository is organized into day-wise modules:
Core Fundamentals & Conditional Logic
- Variables & Data Types: Understanding how to store and manipulate data.
- Input/Output (I/O): Interactive scripting using
input()and formattedprint(). - Arithmetic Operations: Basic mathematical computations and logic.
- Conditionals: Implementing decision-making using
if-elif-elsestatements (e.g., Voting Eligibility, Traffic Light Bot).
Iteration & Mathematical Algorithms
- Loops & Iteration: Mastering
forloops for repetitive tasks and sequence traversal. - Math Logic: Implementing classic algorithms such as Factorial calculation, Square numbers, and Multiples.
- Sequence Manipulation: String iteration and reverse counting.
- Pattern Generation: Visualizing logic through nested structures (e.g., Star patterns).
Conditional Iteration & Control Flow
- Basic While Loops: Implementing condition-based iteration.
- Sentinel Values: Using specific inputs to terminate loops dynamically.
- Control Statements: Mastering
breakfor early exit andcontinuefor skipping iterations. - Loop Else Block: Understanding the
while...elsestructure unique to Python. - Logic Building: Applying while loops to math (Factorials) and simple logic games.
Modular Programming & Scope ✅ COMPLETED
- Function Basics: Defining and calling reusable blocks of code.
- Arguments & Parameters: Mastering positional, keyword, and default arguments.
- Return Values: Handling single and multiple outputs (tuples) from functions.
- Variable Scope: Understanding Local vs Global namespaces.
- Advanced Concepts: Anonymous (Lambda) functions and variable-length arguments (
*args,**kwargs). - Logic Modules: Building function-driven tools like calculators and string processors.
Advanced Sequences & Mappings ✅ COMPLETED
- Lists & Mutability: mastering dynamic arrays and sequence slicing.
- Tuples & Sets: Understanding immutability and mathematical set operations (union/intersection).
- Dictionaries: Deep dive into key-value pairs and nested structures.
- Comprehensions: Writing "Pythonic" code with list and dictionary comprehensions.
- Practical Data: Implementing Stacks, Queues, and mock AI datasets.
Modular Programming, File I/O & Robust Logic ✅ COMPLETED
- Advanced Functions: Deep dive into
*args,**kwargs, and nested functions. - Anonymous Logic: Mastering
lambda,map(), andfilter(). - Scope Management: Handling Local vs Global variables using the
globalkeyword. - Error Handling: Implementing
try-except-else-finallyblocks and custom exceptions. - File I/O: Practical application of reading, writing, and appending to
.txtfiles. - Robust Systems: Building fault-tolerant calculators and mock data cleaners.
Object-Oriented Programming (OOP) Fundamentals ✅ COMPLETED
- Classes & Objects: Defining blueprints and instantiating objects.
- Constructors: Using
__init__for attribute initialization. - Methods: Implementing instance methods to manipulate object data.
- Variable Scope: Understanding Class variables vs Instance variables.
- Inheritance & Polymorphism: Creating parent/child relationships and method overriding.
- Encapsulation: Data hiding using private attributes and getter/setter methods.
- Practical OOP: Building models for Gaming, Networking, and YouTube management.
Advanced Object-Oriented Programming ✅ COMPLETED
- Magic Methods (Dunder): Mastering
__str__,__repr__,__add__, and__eq__for custom object behavior. - Class Methods: Using
@classmethodfor alternative constructors and class-level logic. - Static Methods: Implementing
@staticmethodfor utility functions that don't require instance state. - Property Decorators: Using
@propertyfor managed attribute access (Getters, Setters, Deleters). - Custom Exceptions: Designing user-defined error classes for robust error handling.
- Abstract Base Classes (ABC): Enforcing method implementation in child classes using the
abcmodule. - Complex Models: Building advanced systems for Inventory Management, YouTube Analytics, and Network Data Packets.
File Handling, OS Module & Data Serialization ✅ COMPLETED
- File I/O Basics: Mastering
open(),read(),write(), andappend()modes. - Context Managers: Implementing safe file operations using the
withstatement. - OS Module: Navigating directories, listing files, and path management.
- Data Formats: Parsing and generating
CSVandJSONdata for configuration and storage. - System Utilities: Using
shutilfor backups andsys.argvfor CLI tool development. - Practical Tools: Building game save managers, log archivers, and metadata extractors.
Object-Oriented Programming (OOP) Fundamentals ✅ COMPLETED
- Classes & Objects: Defining blueprints, instantiating objects, and understanding
self. - Constructors: Using
__init__for attribute initialization. - Variable Scope: Mastering Class variables vs Instance variables.
- Inheritance: Creating parent/child relationships and using
super(). - Polymorphism: Method overriding and unified interfaces.
- Encapsulation: Data protection using private attributes (
_and__). - Magic Methods: Implementing dunder methods like
__str__and__len__. - Practical OOP: Building models for Team Management, PC Building, and YouTube Metadata.
Advanced Object-Oriented Programming ✅ COMPLETED
- Class & Static Methods: Mastering
@classmethodand@staticmethodfor versatile class design. - Property Decorators: Implementing managed attribute access with Getters, Setters, and Deleters.
- Abstract Base Classes: Enforcing structural contracts in subclasses using the
abcmodule. - Multiple Inheritance: Understanding MRO (Method Resolution Order) and multi-parent hierarchies.
- Custom Exceptions: Designing domain-specific error classes for robust OOP applications.
- Dataclasses: Leveraging
@dataclassfor concise and efficient data modeling. - Operator Overloading: Implementing dunder methods for custom mathematical object behavior.
- Design Patterns: Implementing the Singleton pattern for centralized state management.
- Object Serialization: Using
pickleto save and restore complex class instances.
Web Scraping, API Integration & Data Automation ✅ COMPLETED
- HTTP Requests: Mastering GET and POST methods using the
requestslibrary. - HTML Parsing: Using
BeautifulSoupto navigate and extract data from DOM structures. - CSS Selectors: Implementing advanced
.select()queries for precise data extraction. - REST APIs: Fetching and parsing JSON data from live endpoints (e.g., PokeAPI).
- Data Serialization: Automating mock data generation and exporting to
JSONandCSVformats. - Browser Automation: Basic setup and interaction using
Seleniumfor dynamic web tasks. - Robust Scraping: Implementing error handling, timeouts, and status code verification.
Navigate to the specific day's directory and execute the script using Python 3:
cd Day_01_and_02_Basics
python 01_hello_world.pyThis repository is for educational purposes. Feel free to explore and use the scripts for learning.