Skip to content

kunalpatil29th/Python-Core-

Repository files navigation

Python-Core-

Comprehensive Python core repository including data structures, problem-solving, and real-world coding examples.

01_Basics

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 statements
  • loops.py: for and while loops.

02_Intermediate

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 with filter().
  • 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.

03_Advanced

This folder explores advanced Python features like decorators, generators, and context managers.

  • decorators.py: Enhancing functions without modification.
  • generators.py: Memory-efficient iteration using yield.
  • list_comprehensions.py: Concise syntax for list creation.
  • context_managers.py: Managing resources with with statements.
  • args_kwargs.py: Handling variable numbers of arguments.

04_Standard_Library

This folder explores essential modules from Python's standard library.

  • collections_module.py: Specialized container datatypes like Counter and namedtuple.
  • 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.

05_Data_Structures_Algorithms

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.

About

Comprehensive Python core repository including data structures, problem-solving, and real-world coding examples.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages