Comprehensive Python core repository including data structures, problem-solving, and real-world coding examples.
This folder contains fundamental Python concepts with definitions and examples.
variables.py: Variable declaration and scoping.input_output.py: User input and console output.comments.py: Single-line, multi-line, and docstrings.type_casting.py: Converting data types.operators.py: Arithmetic, comparison, logical, assignment, identity, and membership operators.hello_world.py: Your first Python program.external_lib.py: Using external libraries (e.g.,pyjokes)strings.py: String manipulation.lists.py: Mutable sequences.tuples.py: Immutable sequences.dictionaries.py: Key-value pairs.conditionals.py: if, elif, else statementsloops.py: for and while loops.
This folder covers intermediate Python topics including functions, OOP, and file handling.
functions.py: Defining and calling functions, default arguments.lambdas.py: Anonymous functions and their usage withfilter().file_handling.py: Reading from and writing to files.exception_handling.py: Using try-except-finally for error management.classes_objects.py: Basics of Object-Oriented Programming (OOP).modules_import.py: Importing and using built-in Python modules.
This folder explores advanced Python features like decorators, generators, and context managers.
decorators.py: Enhancing functions without modification.generators.py: Memory-efficient iteration usingyield.list_comprehensions.py: Concise syntax for list creation.context_managers.py: Managing resources withwithstatements.args_kwargs.py: Handling variable numbers of arguments.
This folder explores essential modules from Python's standard library.
collections_module.py: Specialized container datatypes likeCounterandnamedtuple.itertools_module.py: Tools for efficient iteration and looping.json_module.py: Parsing and creating JSON data.random_module.py: Generating random numbers and making random selections.threading_module.py: Basics of running concurrent operations using threads.
This folder covers fundamental data structures and common algorithms implemented in Python.
linked_list.py: Implementation of a Singly Linked List.stack_queue.py: Stack (LIFO) and Queue (FIFO) basics.binary_tree.py: Binary tree structure and inorder traversal.bubble_sort.py: Simple comparison-based sorting algorithm.binary_search.py: Efficient searching in sorted arrays.
This folder contains simple Python projects that demonstrate practical application of the concepts learned.
calculator.py: A basic arithmetic calculator.number_guessing.py: A simple number guessing game with random numbers.todo_cli.py: A command-line interface for managing a to-do list.password_generator.py: A tool to generate secure, random passwords.unit_converter.py: Converts between units like temperature and distance.rock_paper_scissors.py: A classic game against the computer.simple_atm.py: Simulates basic ATM transactions and balance management.
This folder contains more complex Python projects that integrate multiple concepts like dictionaries, regex, and simulated APIs.
url_shortener.py: Logic for shortening URLs using hashing.expense_tracker.py: Tracks and summarizes daily expenses.weather_app_sim.py: Simulates fetching weather data for cities.quiz_app.py: A multiple-choice quiz application.inventory_management.py: Track products, stock, and pricing.contact_book.py: Simple contact storage and search system.markdown_to_html.py: A basic regex-based Markdown to HTML converter.budget_planner.py: Helps plan monthly income and expenses.