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.