awesome-repositories.com

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasBlogMapa del sitio
ProyectoAcerca dePrensaServidor MCP
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
awesome-repositories.comCategoríasBlog
trekhleb avatar

trekhleb/learn-python

0
View on GitHub↗

Learn Python

This project is an educational resource designed for learning the Python programming language. It serves as a tutorial repository and programming guide, providing a collection of annotated scripts, code examples, and cheatsheets to help users master syntax and core fundamentals.

The resource focuses on moving from basic language syntax to advanced implementation, with a particular emphasis on object-oriented programming, the use of the Python standard library, and scripting automation for business workflows.

The content covers a broad range of programming capabilities, including control flow logic, data structure management, and error handling. It also provides guidance on quality assurance through static code analysis and automated unit testing, as well as specialized topics like regular expressions, mathematical computation, and server-side application development.

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Features

  • Object-Oriented Programming Concepts - Teaches core object-oriented programming concepts including classes, inheritance, and instance management.
  • Python Learning Resources - Serves as a comprehensive collection of annotated scripts and examples for learning Python.
  • Data Type Casting - Provides examples of changing values between different data types using constructor functions.
  • Key-Value Pair Managers - Shows how to store and retrieve data using unique keys mapped to specific values.
  • Set Data Structures - Implements set operations such as union, intersection, and difference to find common or unique elements.
  • Splat Unpacking - Demonstrates assigning individual items from a sequence to multiple variables in a single operation.
  • Unordered Unique Collection Management - Demonstrates the use of unordered collections to handle unique data and perform membership checks.
  • Text String Manipulation Utilities - Provides guidance on creating and modifying text using various quote types and escape characters.
  • Code Cheatsheets - Includes a structured reference of Python snippets covering data types and control flow.
  • Python Tutorials - Offers curated scripts for studying Python modules, packaging, and automated testing.
  • Numeric Data Type Guides - Offers lessons on handling numeric data types and basic arithmetic operations.
  • Python Programming Guides - Provides a programming guide covering object-oriented patterns, file IO, and exception handling.
  • File I/O Utilities - Implements file read and write operations using context managers and file object methods.
  • Class Attribute Management - Explains how to modify shared data on class objects to control default values for all instances.
  • Class Blueprint Definitions - Teaches how to create class structures with properties and methods to serve as templates for object instantiation.
  • Class Inheritance - Demonstrates creating derived classes that reuse and modify behavior from base classes.
  • Class Relationship Verifications - Shows how to use type validation functions to check if an object is an instance of a specific class.
  • Conditional Logic - Teaches how to execute different blocks of code based on truth values of specified conditions.
  • Dictionary Iteration - Demonstrates how to simultaneously extract keys and values from a dictionary during a loop.
  • Indexing and Slicing - Demonstrates how to retrieve specific characters or substrings using positive and negative indexing.
  • Indexed Iteration - Shows how to retrieve the current item and its position index simultaneously during loop iteration.
  • Instance Attribute Management - Guides the dynamic assignment, access, and deletion of data attributes on object instances during runtime.
  • Instance Method Definitions - Explains how to define functions bound to an object instance that receive the instance as the first argument.
  • Whitespace-Based Block Scoping - Explains the use of indentation levels to define code blocks and scoping in place of explicit delimiters.
  • Numeric Range Iteration - Teaches how to generate arithmetic progressions of numbers to control loop repetitions.
  • Parallel Sequence Iteration - Shows how to pair entries from two or more sequences to process them in parallel within a single loop.
  • Immutable Data Structures - Teaches the creation of ordered collections that remain immutable after initialization.
  • Relational Value Comparisons - Demonstrates the use of relational operators to compare equality and magnitude between different operands.
  • Sequence Iteration - Teaches how to process items in a list or string in the order they appear.
  • Sequence Membership Verifications - Provides examples and explanations of using membership operators to verify if values exist within Python collections.
  • Source Code Documentation - Shows how to use single-line comments and docstrings to provide internal documentation within source files.
  • Standard Library Exploration - Guides the use of built-in modules for data serialization, regular expressions, and math.
  • Syntactic Placeholders - Illustrates the use of the 'pass' statement to maintain valid code structure where no action is required.
  • Variable Assignments - Explains how to bind values to identifiers using standard, multiple, and augmented assignment operators.
  • Variable Scope Controls - Guides users through managing variable visibility and lifetime across local, nonlocal, and global namespaces.
  • Conditional Iteration - Explains how to use loops that run repeatedly as long as a boolean condition remains true.
  • Loop Termination Mechanisms - Demonstrates how to exit the innermost enclosing loop immediately when a specific condition is met.
  • Loop Iteration Skipping Mechanisms - Explains how to terminate the current cycle of a loop to jump immediately to the next iteration.
  • Object-Oriented Modeling - Provides educational resources for modeling real-world entities using Python classes and inheritance.
  • Method Overrides - Demonstrates how to redefine inherited methods within child classes to customize object behavior.
  • Workflow Automation - Shows how to orchestrate sequences of tasks and integrate software to automate business processes.
  • JSON Serialization - Provides examples of encoding data structures as JSON strings and decoding them back into objects.
  • Automation Scripts - Demonstrates writing scripts for file I/O, directory management, and business workflow automation.
  • File Pattern Matching - Shows how to search for files using wildcard patterns and globbing.
  • Regular Expressions - Provides examples of using regular expressions for complex pattern matching within text strings.
  • Anonymous Functions - Provides examples of creating lambda functions for concise, single-expression logic.
  • Boolean Logic Types - Explains how to evaluate boolean expressions to control program execution flow.
  • Multiple Inheritance - Demonstrates how to implement and manage classes that inherit from multiple base classes.
  • Class and Instance Variables - Teaches the difference between shared class state and individual instance state in a class hierarchy.
  • Context Managers - Demonstrates the use of context managers for safe and efficient file reading and writing operations.
  • Custom Exception Definitions - Provides examples of creating custom exception classes by inheriting from base Python exceptions.
  • Exception Triggering - Demonstrates how to use the raise statement to trigger specific errors during execution.
  • First-Class Functions - Explains how functions can be passed as arguments or nested to create flexible logic.
  • Function Argument Passing - Covers positional and keyword argument passing in Python functions.
  • Argument Unpacking - Demonstrates passing list or dictionary elements as individual function arguments using unpacking.
  • Default Arguments - Shows how to define optional function parameters to allow calls with fewer arguments.
  • Function Definitions - Provides guidance on defining reusable functions to encapsulate tasks across a program.
  • Generator Functions - Teaches the use of yield statements to generate sequences of items one at a time.
  • Instance Initialization Hooks - Provides examples of using constructor methods to define the initial state of object instances.
  • Random Value Generators - Demonstrates producing random integers and sampling from collections using the random module.
  • Argument Handling - Explains how to use args and *kwargs to handle a variable number of function arguments.
  • Module Importing - Covers how to load functions and variables from external files using selective imports and aliases.
  • Module Namespaces - Teaches how to organize code into nested directories using dotted import paths to avoid naming collisions.
  • Package Structuring - Demonstrates how to organize modules into a hierarchical namespace using dotted names for large projects.
  • Type Annotations - Shows how to attach type hints to function parameters and return values.
  • Type Conversion and Casting - Explains how to cast data between different primitive types using constructor functions at runtime.
  • User Input Capture - Demonstrates capturing user-provided information during execution for use within scripts.
  • Scientific & Mathematical Computing - Provides resources for executing complex mathematical computations and processing datasets for scientific analysis.
  • Floating Point Calculations - Covers the implementation of trigonometric and logarithmic operations using Python's math libraries.
  • Statistical Metric Calculators - Provides examples for computing descriptive statistics such as mean, median, and variance of datasets.
  • Instance State Management - Explains how to use instance methods and reference parameters to manage the state of specific objects.
  • Exception Handling Strategies - Explains the use of try-except blocks to catch and recover from runtime errors.
  • Function Decorators - Provides annotated scripts showing how to wrap functions to add functionality without altering original source code.
  • Object Identity Verifiers - Demonstrates using the 'is' operator to verify if two variables refer to the same memory location.
  • Source File Organization - Teaches conventions for splitting program definitions into separate files for easier maintenance.
  • Automated Test Suites - Provides a standardized unit test suite to verify the correctness of the provided code examples.
  • Code Quality and Review - Guidance on implementing linting and automated unit tests to ensure code correctness.
  • Static Analysis - Guidance on using static analysis tools to validate code against style guidelines and identify bugs.
  • Static Code Analysis - Guides users in employing static analysis tools to identify stylistic errors and potential bugs.
  • Unit Testing Frameworks - Includes practical examples of defining and executing automated unit tests to verify code logic.
  • Programming Languages - Interactive learning path for mastering Python programming.
  • Educational Resources - Python code examples and explanations.
  • Technical Cheatsheets - Interactive Python learning resources.
18,058 estrellas·2,959 forks·Python·MIT·3 vistas

Historial de estrellas

Gráfico del historial de estrellas de trekhleb/learn-pythonGráfico del historial de estrellas de trekhleb/learn-python

Alternativas open-source a Learn Python

Proyectos open-source similares, clasificados según cuántas características comparten con Learn Python.
  • jerry-git/learn-python3Avatar de jerry-git

    jerry-git/learn-python3

    6,754Ver en GitHub↗

    This is an interactive Python tutorial delivered as a collection of Jupyter notebooks. It is designed as a structured learning path for beginners, teaching fundamental language concepts through a sequence of lessons that combine explanatory text with runnable code cells and embedded practice exercises. Each notebook is a self-contained unit that introduces a topic, demonstrates it with a minimal code example, and then asks the learner to write code themselves, receiving immediate feedback from the browser-based execution environment. The curriculum is built on a progressive concept-stacking mo

    HTMLjupyter-notebooklearning-pythonpython-exercises
    Ver en GitHub↗6,754
  • crystal-lang/crystalAvatar de crystal-lang

    crystal-lang/crystal

    20,299Ver en GitHub↗

    Crystal is a statically typed, compiled programming language designed for high performance and memory safety. It leverages an LLVM-based compiler to translate source code into optimized machine-executable binaries, while its type-inference-based static analysis enforces strict safety rules during the build process. The language distinguishes itself through a fiber-based concurrent runtime that manages lightweight execution units for asynchronous input and output without blocking the main process. It also features a powerful compile-time macro system that allows for the inspection and transfor

    Crystalcompilercrystalcrystal-language
    Ver en GitHub↗20,299
  • mouredev/hello-javaAvatar de mouredev

    mouredev/hello-java

    4,304Ver en GitHub↗

    This project is a collection of instructional resources and curriculum materials designed to teach the Java language. It provides a structured programming course, a fundamentals guide, and an object-oriented programming tutorial, supported by a series of practical coding exercises and implementation challenges. The curriculum focuses on implementing object-oriented patterns, including inheritance, polymorphism, and abstraction. It covers the creation of classes, the use of interfaces to define behavioral contracts, and the application of access modifiers to control data visibility. The educa

    Javacursojavapoo
    Ver en GitHub↗4,304
  • walter201230/pythonAvatar de walter201230

    walter201230/Python

    26,516Ver en GitHub↗

    Python is a high-level, interpreted programming language designed for readability and versatility. It operates via a bytecode-based virtual machine and manages memory automatically through reference-counting garbage collection. The language supports multiple programming paradigms, including object-oriented, imperative, and functional styles, and provides a comprehensive standard library for system operations, networking, and data handling. The language is distinguished by its dynamic nature, allowing for runtime object introspection and metaclass-driven class creation. It utilizes protocol-ba

    Pythonpythonpython3
    Ver en GitHub↗26,516
Ver las 30 alternativas a Learn Python→

Frequently asked questions

What does trekhleb/learn-python do?

This project is an educational resource designed for learning the Python programming language. It serves as a tutorial repository and programming guide, providing a collection of annotated scripts, code examples, and cheatsheets to help users master syntax and core fundamentals.

What are the main features of trekhleb/learn-python?

The main features of trekhleb/learn-python are: Object-Oriented Programming Concepts, Python Learning Resources, Data Type Casting, Key-Value Pair Managers, Set Data Structures, Splat Unpacking, Unordered Unique Collection Management, Text String Manipulation Utilities.

What are some open-source alternatives to trekhleb/learn-python?

Open-source alternatives to trekhleb/learn-python include: jerry-git/learn-python3 — This is an interactive Python tutorial delivered as a collection of Jupyter notebooks. It is designed as a structured… crystal-lang/crystal — Crystal is a statically typed, compiled programming language designed for high performance and memory safety. It… mouredev/hello-java — This project is a collection of instructional resources and curriculum materials designed to teach the Java language.… walter201230/python — Python is a high-level, interpreted programming language designed for readability and versatility. It operates via a… oils-for-unix/oils — Oils is a Unix shell interpreter and scripting language runtime that combines a modern shell language with POSIX and… rust-lang/rust-by-example — This project is an interactive programming education resource and tutorial designed for learning the Rust programming…