1. Project Overview & Quickstart (huangsam/ultimate-python)
File: README.md
Ultimate Python study guide
Ultimate Python study guide for newcomers and professionals alike. 🐍 🐍 🐍
print("Ultimate Python study guide")English |
한국어 |
繁体中文 |
Español |
Deutsch |
Français |
हिन्दी |
Português - Brasil
Motivation
I created this GitHub repo to share what I've learned about core Python
over the past 5+ years of using it as a college graduate, an employee at
large-scale companies and an open-source contributor of repositories like
Celery and
Full Stack Python.
I look forward to seeing more people learn Python and pursue their passions
through it. 🎓
Goals
Here are the primary goals of creating this guide:
🏆 Serve as a resource for Python newcomers who prefer to learn hands-on.
This repository has a collection of standalone modules which can be run in an IDE
like PyCharm and in the browser like
Replit. Even a plain old terminal will work
with the examples. Most lines have carefully crafted comments which guide a reader
through what the programs are doing step-by-step. Users are encouraged to modify
source code anywhere as long as the main routines are not deleted and
run successfully after each change.
🏆 Serve as a pure guide for those who want to revisit core Python concepts.
Only builtin libraries are leveraged so that
these concepts can be conveyed without the overhead of domain-specific concepts. As
such, popular open-source libraries and frameworks (i.e. sqlalchemy, requests,pandas) are not installed. However, reading the source code in these frameworks is
inspiring and highly encouraged if your goal is to become a true
Pythonista.
Getting started
Click the badge above to spin up a working environment in the browser without
needing Git and Python installed on your local machine. If these requirements
are already met, feel free to clone the repository directly.
Once the repository is accessible, you are ready to learn from the standalone
modules. To get the most out of each module, read the module code and run it.
There are two ways of running the modules:
- Run a single module:
python ultimatepython/fundamentals/variable.py - Run all of the modules:
python runner.py
Table of contents
📚 = External resource,
🍰 = Beginner topic,
🤯 = Advanced topic
- About Python
- Overview: What is Python ( 📚, 🍰 )
- Design philosophy: The Zen of Python ( 📚 )
- Style guide: Style Guide for Python Code ( 📚, 🤯 )
- Data model: Data model ( 📚, 🤯 )
- Standard library: The Python Standard Library ( 📚, 🤯 )
- Built-in functions: Built-in Functions ( 📚 )
- Fundamentals
- Variable: Built-in literals ( 🍰 )
- Expression: Numeric operations ( 🍰 )
- String: String operations ( 🍰 )
- List: List operations ( 🍰 )
- Tuple: Tuple operations
- Set: Set operations
- Dict: Dictionary operations ( 🍰 )
- Conditional: if | if-else | if-elif-else ( 🍰 )
- Loop: for-loop | while-loop ( 🍰 )
- Function: def | lambda ( 🍰 )
- Comprehension: list | tuple | set | dict
- Object-Oriented Programming
- Basic class: Basic definition ( 🍰 )
- Inheritance: Inheritance ( 🍰 )
- Encapsulation: Encapsulation definition
- Abstract class: Abstract definition
- Exception class: Exception definition
- Iterator class: Iterator definition | yield ( 🤯 )
- Mixin: Mixin definition ( 🤯 )
- Method resolution order: mro ( 🤯 )
- Standard Library
- File Handling: File Handling ( 🤯 )
- Regular expression: search | findall | match | fullmatch ( 🤯 )
- Data format: json | xml | csv ( 🤯 )
- Datetime: datetime | timezone ( 🤯 )
- Advanced
- Decorator: Decorator definition | wraps ( 🤯 )
- Context manager: Context managers ( 🤯 )
- Metaclass: Metaclass definition ( 🤯 )
- Weak reference: weakref ( 🤯 )
- Walrus operator: Assignment expressions := ( 🤯 )
- Argument enforcement: Positional-only / | Keyword-only * ( 🤯 )
- Pattern matching: match | case ( 🤯 )
- Template strings: Template strings (PEP 750) ( 🤯 )
- Concurrency
- Thread: ThreadPoolExecutor ( 🤯 )
- Asyncio: async | await ( 🤯 )
- Subinterpreters: concurrent.interpreters ( 🤯 )
- Engineering
- Mocking: MagicMock | PropertyMock | patch ( 🤯 )
- Benchmark: cProfile | pstats ( 🤯 )
- Bitwise: Bitwise operators ( 🍰 ), One's/Two's Complement ( 📚 )
- Deque: deque ( 🤯 )
- Namedtuple: namedtuple ( 🤯 )
- Defaultdict: defaultdict ( 🤯 )
- Itertools: Iterator tools ( 🤯 )
- Dict union: Dictionary merge | and |= ( 🤯 )
- Heap: heap queue ( 🤯 )
- Time complexity: cPython operations ( 📚, 🤯 )
Additional resources
👔 = Interview resource,
🧪 = Code samples,
🧠 = Project ideas
GitHub repositories
Keep learning by reading from other well-regarded resources.
Core Python & patterns
- TheAlgorithms/Python ( 👔, 🧪 )
- faif/python-patterns ( 👔, 🧪 )
- geekcomputers/Python ( 🧪 )
- practical-tutorials/project-based-learning ( 🧠 )
Data science & machine learning
- trekhleb/homemade-machine-learning ( 🧪 )
- microsoft/ML-For-Beginners ( 🧪 )
- microsoft/Data-Science-For-Beginners ( 🧪 )
- academic/awesome-datascience
- josephmisiti/awesome-machine-learning
Curated lists & project ideas
- MunGell/awesome-for-beginners ( 🧠 )
- vinta/awesome-python
- lukasmasuch/best-of-python
- freeCodeCamp/freeCodeCamp ( 👔 )
Interactive practice
Keep practicing so that your coding skills don't get rusty.
Interview preparation
- leetcode.com ( 👔 )
- hackerrank.com ( 👔 )
- geeksforgeeks.org ( 👔 )
Hands-on learning
- exercism.io ( 🧪 )
- codewars.com ( 🧪 )
- labex.io ( 🧪 )
- teclado.com ( 🧪 )
- projecteuler.net ( 🧪 )
- kaggle.com ( 🧠 )
File: README.de.md
Ultimativer Python-Lernführer
Der ultimative Python-Lernführer für Einsteiger und Profis gleichermaßen. 🐍 🐍 🐍
print("Ultimativer Python-Lernführer")English |
한국어 |
繁体中文 |
Español |
Deutsch |
Français |
हिन्दी |
Português - Brasil
Motivation
Ich habe dieses GitHub-Repository erstellt, um meine Erkenntnisse über core Python
in den letzten 5 Jahren als Hochschulabsolvent, Angestellter in
großen Unternehmen und als Open-Source-Mitarbeiter von Repositories wie
Celery und
Full Stack Python weiterzugeben.
Ich freue mich darauf, dass noch mehr Menschen Python lernen und damit ihren Leidenschaften nachgehen. 🎓
Ziele
Dies sind die Hauptziele bei der Erstellung dieses Leitfadens:
🏆 Als Ressource fungieren für Python-Neulinge, die es vorziehen, praktisch zu lernen.
Dieses Repository enthält eine Sammlung von eigenständigen Modulen, die in einer IDE
wie PyCharm oder im Browser via
Replit ausgeführt werden können. Ein Terminal funktioniert
ebenfalls gut für die Beispiele. Die meisten Zeilen enthalten sorgfälltig formulierte Kommentare, die den Leser
Schritt für Schritt durch die Abläufe führen. Benutzer werden ermutigt, den Quellcode zu ändern,
sofern die main-Routinen nicht entfernt werden und die Programme nach Änderungen weiterhin erfolgreich
ausgeführt werden (siehe runner.py).
🏆 Als reiner Leitfaden dienen für diejenigen, die die wichtigsten Python-Konzepte wiederholen möchten.
Wo nur builtin libraries genutzt werden, so dass
diese Konzepte ohne den Overhead der bereichsspezifischen Konzepte vermittelt werden können. Als
beliebte Open-Source-Bibliotheken und -Frameworks (d.h. sqlalchemy, requests,pandas) nicht installiert sind. Das Lesen des Quellcodes dieser Frameworks ist jedoch
inspirierend und wird dringend empfohlen, wenn Sie ein echter Profi werden wollen.
Pythonista.
Erste Schritte
Klicken Sie auf das obige Abzeichen, um eine Arbeitsumgebung im Browser zu starten, ohne
ohne dass Sie Git und Python auf Ihrem lokalen Rechner installiert haben müssen. Wenn diese Voraussetzungen
bereits erfüllt sind, können Sie das Repository direkt klonen.
Sobald das Repository zugänglich ist, können Sie mit den eigenständigen
Modulen lernen. Um den größtmöglichen Nutzen aus jedem Modul zu ziehen, lesen Sie den Modulcode und führen Sie ihn aus.
Es gibt zwei Möglichkeiten, die Module auszuführen:
- Führen Sie ein einzelnes Modul aus:
python ultimatepython/fundamentals/variable.py - Führen Sie alle Module aus:
python runner.py
Inhaltsübersicht
📚 = Externe Ressource,
🍰 = Thema für Anfänger,
🤯 = Fortgeschrittenes Thema
- Über Python
- Overview: What is Python ( 📚, 🍰 )
- Design philosophy: The Zen of Python ( 📚 )
- Style guide: Style Guide for Python Code ( 📚, 🤯 )
- Data model: Data model ( 📚, 🤯 )
- Standard library: The Python Standard Library ( 📚, 🤯 )
- Built-in functions: Built-in Functions ( 📚 )
- Grundlagen
- Variable: Built-in literals ( 🍰 )
- Expression: Numeric operations ( 🍰 )
- String: String operations ( 🍰 )
- List: List operations ( 🍰 )
- Tuple: Tuple operations
- Set: Set operations
- Dict: Dictionary operations ( 🍰 )
- Conditional: if | if-else | if-elif-else ( 🍰 )
- Loop: for-loop | while-loop ( 🍰 )
- Function: def | lambda ( 🍰 )
- Comprehension: list | tuple | set | dict
- Objektorientierte Programmierung
- Basic class: Basic definition ( 🍰 )
- Inheritance: Inheritance ( 🍰 )
- Encapsulation: Encapsulation definition
- Abstract class: Abstract definition
- Exception class: Exception definition
- Iterator class: Iterator definition | yield ( 🤯 )
- Mixin: Mixin definition ( 🤯 )
- Method resolution order: mro ( 🤯 )
- Standardbibliothek
- File Handling: File Handling ( 🤯 )
- Regular expression: search | findall | match | fullmatch ( 🤯 )
- Data format: json | xml | csv ( 🤯 )
- Datetime: datetime | timezone ( 🤯 )
- Fortgeschrittene
- Decorator: Decorator definition | wraps ( 🤯 )
- Context manager: Context managers ( 🤯 )
- Metaclass: Metaclass definition ( 🤯 )
- Weak reference: weakref ( 🤯 )
- Walrus operator: Assignment expressions := ( 🤯 )
- Argument enforcement: Positional-only / | Keyword-only * ( 🤯 )
- Pattern Matching: match | case ( 🤯 )
- Template strings: Template strings (PEP 750) ( 🤯 )
- Nebenläufigkeit
- Thread: ThreadPoolExecutor ( 🤯 )
- Asyncio: async | await ( 🤯 )
- Subinterpreters: concurrent.interpreters ( 🤯 )
- Softwaretechnik
- Mocking: MagicMock | PropertyMock | patch ( 🤯 )
- Benchmark: cProfile | pstats ( 🤯 )
- Bitwise: Bitwise operators ( 🍰 ), One's/Two's Complement ( 📚 )
- Deque: deque ( 🤯 )
- Namedtuple: namedtuple ( 🤯 )
- Defaultdict: defaultdict ( 🤯 )
- Iterator-Tools: Iterator-Tools ( 🤯 )
- Dict union: Dictionary merge | and |= ( 🤯 )
- Heap: heap queue ( 🤯 )
- Time complexity: cPython operations ( 📚, 🤯 )
Zusätzliche Ressourcen
👔 = Interview-Ressource,
🧪 = Code-Beispiele,
🧠 = Projektideen
GitHub repositories
Lernen Sie weiter, indem Sie von anderen Quellen lesen.
Kern-Python & Muster
- TheAlgorithms/Python ( 👔, 🧪 )
- faif/python-patterns ( 👔, 🧪 )
- geekcomputers/Python ( 🧪 )
- practical-tutorials/project-based-learning ( 🧠 )
Data Science & Machine Learning
- trekhleb/homemade-machine-learning ( 🧪 )
- microsoft/ML-For-Beginners ( 🧪 )
- microsoft/Data-Science-For-Beginners ( 🧪 )
- academic/awesome-datascience
- josephmisiti/awesome-machine-learning
Kuratierte Listen & Projektideen
- MunGell/awesome-for-beginners ( 🧠 )
- vinta/awesome-python
- lukasmasuch/best-of-python
- freeCodeCamp/freeCodeCamp ( 👔 )
Interaktive Übungen
Üben Sie weiter, damit Ihre Programmierkenntnisse nicht einrosten.
Interviewvorbereitung
- leetcode.com ( 👔 )
- hackerrank.com ( 👔 )
- geeksforgeeks.org ( 👔 )
Praktisches Lernen
- exercism.io ( 🧪 )
- codewars.com ( 🧪 )
- labex.io ( 🧪 )
- teclado.com ( 🧪 )
- projecteuler.net ( 🧪 )
- kaggle.com ( 🧠 )
File: README.es.md
Guía de estudio "Python Definitivo"
Guía de estudio "Python Definitivo" para principiantes y profesionales. 🐍 🐍 🐍
print("Guía de estudio 'Python Definitivo'")English |
한국어 |
繁体中文 |
Español |
Deutsch |
Français |
हिन्दी |
Português - Brasil
Motivación
Creé este repositorio de GitHub para compartir lo que he aprendido sobre Python
durante más de 5 años usándolo como graduado de universidad, empleado en grandes empresas y como contribuidor
de código abierto en repositorios como Celery y
Full Stack Python.
Espero ver a más personas aprendiendo Python y persiguiendo su pasión a través de él. 🎓
Objetivos
Estos son los objetivos principales de esta guía:
🏆 Servir como un recurso para principiantes de Python que prefieren aprender de forma práctica.
Este repositorio contiene una colección de módulos independientes que pueden ejecutarse en
un IDE como PyCharm y en el navegador, como
Replit. Incluso una terminal sencilla funcionará con los ejemplos.
La mayoría de las líneas de código tienen comentarios útiles que guían al lector paso a paso.
Se anima a los usuarios a modificar el código fuente en cualquier parte siempre y cuando las rutinas
principales (main) no se eliminen y los programas se ejecuten con éxito tras cada cambio (ver runner.py).
🏆 Servir como una guía pura para aquellos que quieren reforzar los conceptos base de
Python. Se utilizan sólo las librerías integradas para que
estos conceptos puedan adquirirse sin el esfuerzo de aprender conocimientos de dominios específicos.
Por ello no se han instalado librerías y entornos de código abierto populares (como sqlalchemy,requests, pandas). No obstante, leer el código fuente de estos frameworks es inspirador y altamente
recomendado si tu objetivo es convertirte en un verdadero
Pythonista.
Empezando
Haz clic en la imagen de arriba para crear un ambiente de trabajo en el navegador sin necesidad
de tener Git y Python instalados en tu ordenador local. Si estos requisitos ya se cumplen,
puedes clonar el repositorio directamente.
Una vez que el repositorio sea accesible, estás listo para aprender de los módulos independientes.
Para aprender el máximo de cada módulo, lee el código del módulo y ejecútalo.
Hay dos maneras de ejecutar los módulos:
- Ejecuta un solo módulo:
python ultimatepython/fundamentals/variable.py - Ejecuta todos los módulos:
python runner.py
Contenido
📚 = Recurso externo,
🍰 = Tema principiante,
🤯 = Tema avanzado
- Sobre Python
- Resumen: ¿Qué es Python? ( 📚, 🍰 )
- Filosofía de diseño: El Zen de Python ( 📚 )
- Guía de estilos: Guía de estilos para código de Python ( 📚, 🤯 )
- Modelo de datos: Modelo de datos ( 📚, 🤯 )
- Librería estándar: La librería estándar de Python ( 📚, 🤯 )
- Funciones integradas: Funciones integradas ( 📚 )
- Fundamentos
- Variables: Literales integrados ( 🍰 )
- Expresiones: Operaciones numéricas ( 🍰 )
- Cadena: Operaciones con strings ( 🍰 )
- Lista: Operaciones con listas ( 🍰 )
- Tupla: Operaciones con tuplas
- Set: Operaciones con sets
- Diccionario: Operaciones con dicts ( 🍰 )
- Condicionales: if | if-else | if-elif-else ( 🍰 )
- Iteraciones: for-loop | while-loop ( 🍰 )
- Funciones: def | lambda ( 🍰 )
- Comprensión: list | tuple | set | dict
- Programación orientada a objetos
- Clase básica: Definición de básica ( 🍰 )
- Herencia: Herencia ( 🍰 )
- Encapsulación: Definición de encapsulación
- Clase abstracta: Definición de abstracta
- Clase de excepción: Definición de excepción
- Clase iteradora: Definición de iteradora | yield ( 🤯 )
- Mixin: Definición de Mixin ( 🤯 )
- Orden de resolución de método (MRO por sus siglas en inglés): mro ( 🤯 )
- Librería estándar
- Manejo de archivos: Manejo de archivos ( 🤯 )
- Expresiones regulares: search | findall | match | fullmatch ( 🤯 )
- Formatos de datos: json | xml | csv ( 🤯 )
- Fecha y hora: datetime | timezone ( 🤯 )
- Avanzado
- Decorador: Definición de decorador | wraps ( 🤯 )
- Gestor de contexto: Gestores de contexto ( 🤯 )
- Metaclase: Definición de metaclase ( 🤯 )
- Referencias débiles: weakref ( 🤯 )
- Operador morsa: Expresiones de asignación := ( 🤯 )
- Aplicación de argumentos: Solo posicional / | Solo palabra clave * ( 🤯 )
- Coincidencia de patrones: match | case ( 🤯 )
- Template strings: Template strings (PEP 750) ( 🤯 )
- Concurrencia
- Hilos: ThreadPoolExecutor ( 🤯 )
- Asyncio: async | await ( 🤯 )
- Subinterpretes: concurrent.interpreters ( 🤯 )
- Ingeniería
- Mocking: MagicMock | PropertyMock | patch ( 🤯 )
- Referencia: cProfile | pstats ( 🤯 )
- Bit a bit: Operadores bit a bit ( 🍰 ), Complemento a uno/dos ( 📚 )
- Deque: deque ( 🤯 )
- Namedtuple: namedtuple ( 🤯 )
- Defaultdict: defaultdict ( 🤯 )
- Herramientas de iteradores: Herramientas de iteradores ( 🤯 )
- Unión de diccionarios: Fusión de diccionarios | y |= ( 🤯 )
- Heap: heap queue ( 🤯 )
- Complejidad de tiempo: Operaciones de cPython ( 📚, 🤯 )
Recursos adicionales
👔 = Recurso de entrevista,
🧪 = Ejemplos de código,
🧠 = Ideas para proyecto
Repositorios de GitHub
Sigue aprendiendo leyendo otros buenos recursos.
Python fundamental y patrones
- TheAlgorithms/Python ( 👔, 🧪 )
- faif/python-patterns ( 👔, 🧪 )
- geekcomputers/Python ( 🧪 )
- practical-tutorials/project-based-learning ( 🧠 )
Ciencia de datos y aprendizaje automático
- trekhleb/homemade-machine-learning ( 🧪 )
- microsoft/ML-For-Beginners ( 🧪 )
- microsoft/Data-Science-For-Beginners ( 🧪 )
- academic/awesome-datascience
- josephmisiti/awesome-machine-learning
Listas curadas e ideas de proyectos
- MunGell/awesome-for-beginners ( 🧠 )
- vinta/awesome-python
- lukasmasuch/best-of-python
- freeCodeCamp/freeCodeCamp ( 👔 )
Práctica interactiva
Continua practicando para que no se oxiden tus habilidades de programación.
Preparación para entrevistas
- leetcode.com ( 👔 )
- hackerrank.com ( 👔 )
- geeksforgeeks.org ( 👔 )
Aprendizaje práctico
- exercism.io ( 🧪 )
- codewars.com ( 🧪 )
- labex.io ( 🧪 )
- teclado.com ( 🧪 )
- projecteuler.net ( 🧪 )
- kaggle.com ( 🧠 )
File: README.hi.md
अल्टीमेट Python अध्ययन गाइड
नए और पेशेवर लोगों के लिए अल्टीमेट पायथन अध्ययन गाइड। 🐍 🐍 🐍
print("Ultimate Python स्टडी गाइड")English |
한국어 |
繁体中文 |
Español |
Deutsch |
Français |
हिन्दी |
Português - Brasil
प्रेरणा
मैंने यह गिटहब रिपोजिटरी core Python के बारे में जो कुछ मैंने पिछले 5+ वर्षों में सीखा है, उसे साझा करने के लिए बनाई है। मैंने इसे एक कॉलेज ग्रेजुएट, बड़ी कंपनियों के कर्मचारी, और Celery और Full Stack Python जैसी रिपोजिटरी के ओपन-सोर्स कंट्रीब्यूटर के रूप में उपयोग किया है। मैं यह देखने के लिए उत्सुक हूँ कि और लोग पायथन सीखें और इसके माध्यम से अपने जुनून को आगे बढ़ाएं। 🎓
लक्ष्य
इस गाइड को बनाने के मुख्य लक्ष्य निम्नलिखित हैं:
🏆 संसाधन के रूप में सेवा देना उन नए पायथन उपयोगकर्ताओं के लिए जो प्रैक्टिकल तरीके से सीखना पसंद करते हैं। इस रिपोजिटरी में स्वतंत्र मॉड्यूलों का एक संग्रह है, जिन्हें IDE जैसे PyCharm में या Replit जैसे ब्राउज़र में चलाया जा सकता है। पुराने साधारण टर्मिनल में भी इन उदाहरणों को चलाया जा सकता है। अधिकतर लाइनों में बहुत ही अच्छे से लिखे गए comments होते हैं, जो पाठक को प्रोग्राम्स के प्रत्येक चरण के माध्यम से मार्गदर्शन करते हैं। उपयोगकर्ताओं को कोड में बदलाव करने के लिए प्रोत्साहित किया जाता है, बशर्ते कि main रूटीन को हटाया न जाए और हर परिवर्तन के बाद सफलतापूर्वक चलाया जाए।
🏆 शुद्ध गाइड के रूप में सेवा देना उन लोगों के लिए जो मुख्य पायथन अवधारणाओं को फिर से समझना चाहते हैं। केवल बिल्ट-इन लाइब्रेरीज़ का उपयोग किया गया है ताकि इन अवधारणाओं को बिना किसी विशेष डोमेन की अवधारणाओं के सरलता से समझाया जा सके। इसी कारण से लोकप्रिय ओपन-सोर्स लाइब्रेरीज़ और फ्रेमवर्क (जैसे sqlalchemy, requests, pandas) को इंस्टॉल नहीं किया गया है। हालांकि, इन फ्रेमवर्क्स के स्रोत कोड को पढ़ना प्रेरणादायक है और यदि आपका लक्ष्य एक सच्चे Pythonista बनने का है तो इसे ज़रूर पढ़ना चाहिए।
शुरूआत
ऊपर दिए गए बैज पर क्लिक करें ताकि आप ब्राउज़र में एक कार्यशील वातावरण शुरू कर सकें, इसके लिए आपके स्थानीय मशीन पर Git और पायथन की आवश्यकता नहीं होगी। यदि ये आवश्यकताएँ पहले से ही पूरी हो चुकी हैं, तो आप सीधे रिपोजिटरी को क्लोन कर सकते हैं।
एक बार जब रिपोजिटरी उपलब्ध हो जाती है, तो आप स्वतंत्र मॉड्यूल से सीखने के लिए तैयार हैं। प्रत्येक मॉड्यूल का अधिकतम लाभ उठाने के लिए, मॉड्यूल का कोड पढ़ें और इसे चलाएं। मॉड्यूल चलाने के दो तरीके हैं:
- एकल मॉड्यूल चलाएं:
python ultimatepython/fundamentals/variable.py - सभी मॉड्यूल चलाएं:
python runner.py
विषय सूची
📚 = बाहरी स्रोत,
🍰 = शुरुआती विषय,
🤯 = उन्नत विषय
- पायथन के बारे में
- अवलोकन: पायथन क्या है ( 📚, 🍰 )
- डिज़ाइन दर्शन: पायथन का ज़ेन ( 📚 )
- शैली मार्गदर्शिका: पायथन कोड के लिए शैली मार्गदर्शिका ( 📚, 🤯 )
- डेटा मॉडल: डेटा मॉडल ( 📚, 🤯 )
- मानक पुस्तकालय: पायथन मानक पुस्तकालय ( 📚, 🤯 )
- अंतर्निहित कार्य: अंतर्निहित कार्य ( 📚 )
- बुनियादी बातें
- वेरिएबल: अंतर्निहित लिटरल ( 🍰 )
- अभिव्यक्ति: संख्यात्मक ऑपरेशन्स ( 🍰 )
- स्ट्रिंग: स्ट्रिंग ऑपरेशन्स ( 🍰 )
- लिसट: लिसट ऑपरेशन्स ( 🍰 )
- ट्यूपल: ट्यूपल ऑपरेशन्स
- सेट: सेट ऑपरेशन्स
- डिक्ट: डिक्शनरी ऑपरेशन्स ( 🍰 )
- कंडीशनल: if | if-else | if-elif-else ( 🍰 )
- लूप: for-loop | while-loop ( 🍰 )
- फ़ंक्शन: def | lambda ( 🍰 )
- संकलन: लिसट | ट्यूपल | सेट | डिक्ट
- ऑब्जेक्ट-ओरिएंटेड प्रोग्रामिंग
- बेसिक क्लास: बेसिक परिभाषा ( 🍰 )
- इन्हरिटैंस: इन्हरिटैंस ( 🍰 )
- ऐनकैपसुलेषन: ऐनकैपसुलेषन परिभाषा
- एैबस्टराक्ट क्लास: बेसिक परिभाषा
- एक्सेपशन क्लास: बेसिक परिभाषा
- इटरेटर क्लास: इटरेटर परिभाषा | yield ( 🤯 )
- मिक्सिन: मिक्सिन परिभाषा ( 🤯 )
- मेथड रिज़ॉल्यूशन क्रम: mro ( 🤯 )
- मानक पुस्तकालय
- फ़ाइल प्रबंधन: फ़ाइल प्रबंधन ( 🤯 )
- नियमित अभिव्यक्ति: search | findall | match | fullmatch ( 🤯 )
- डेटा फ़ॉर्मेट: json | xml | csv ( 🤯 )
- दिनांक और समय: datetime | timezone ( 🤯 )
- उन्नत
- डेकोरेटर: डेकोरेटर परिभाषा | wraps ( 🤯 )
- संदर्भ प्रबंधक: संदर्भ प्रबंधक ( 🤯 )
- मेटाक्लास: मेटाक्लास परिभाषा ( 🤯 )
- वीक रेफरेंस: weakref ( 🤯 )
- वॉलरस ऑपरेटर: असाइनमेंट एक्सप्रेशन := ( 🤯 )
- तर्क प्रवर्तन: केवल स्थितीय / | केवल कीवर्ड * ( 🤯 )
- पैटर्न मिलान: match | case ( 🤯 )
- Template strings: Template strings (PEP 750) ( 🤯 )
- समानांतरता
- थ्रेड: ThreadPoolExecutor ( 🤯 )
- एसिंको: async | await ( 🤯 )
- सबइंटरप्रेटर: concurrent.interpreters ( 🤯 )
- इंजीनियरिंग
- मॉकिंग: MagicMock | PropertyMock | patch ( 🤯 )
- बेंचमार्क: cProfile | pstats ( 🤯 )
- बाइनरी: बाइनरी ऑपरेटर ( 🍰 ), एक्स/टू का पूरक ( 📚 )
- डेक: डेक ( 🤯 )
- नामित ट्यूपल: नामित ट्यूपल ( 🤯 )
- डिफ़ॉल्ट डिक्ट: डिफ़ॉल्ट डिक्ट ( 🤯 )
- इटरेटर टूल्स: इटरेटर टूल्स ( 🤯 )
- डिक्शनरी यूनियन: डिक्शनरी मर्ज | और |= ( 🤯 )
- Heap: heap queue ( 🤯 )
- समय कोम्पलेक्सिटी: cPython ऑपरेशन्स ( 📚, 🤯 )
अतिरिक्त संसाधन
👔 = इंटरव्यू संसाधन,
🧪 = कोड नमूने,
🧠 = प्रोजेक्ट विचार
गिटहब रिपॉजिटरी
अन्य उच्च मानक संसाधनों से पढ़कर सीखना जारी रखें।
कोर Python और पैटर्न
- TheAlgorithms/Python ( 👔, 🧪 )
- faif/python-patterns ( 👔, 🧪 )
- geekcomputers/Python ( 🧪 )
- practical-tutorials/project-based-learning ( 🧠 )
डेटा साइंस और मशीन लर्निंग
- trekhleb/homemade-machine-learning ( 🧪 )
- microsoft/ML-For-Beginners ( 🧪 )
- microsoft/Data-Science-For-Beginners ( 🧪 )
- academic/awesome-datascience
- josephmisiti/awesome-machine-learning
क्यूरेटेड सूचियाँ और परियोजना विचार
- MunGell/awesome-for-beginners ( 🧠 )
- vinta/awesome-python
- lukasmasuch/best-of-python
- freeCodeCamp/freeCodeCamp ( 👔 )
इंटरैक्टिव प्रैक्टिस
अभ्यास करते रहें ताकि आपकी कोडिंग कौशल खराब न हों।
इंटरव्यू की तैयारी
- leetcode.com ( 👔 )
- hackerrank.com ( 👔 )
- geeksforgeeks.org ( 👔 )
व्यवहारिक सीखना
- exercism.io ( 🧪 )
- codewars.com ( 🧪 )
- labex.io ( 🧪 )
- teclado.com ( 🧪 )
- projecteuler.net ( 🧪 )
- kaggle.com ( 🧠 )
File: README.ko.md
Ultimate Python 학습 가이드
초보자와 전문가 모두를 위한 최고의 Python 학습 가이드입니다. 🐍 🐍 🐍
print("Ultimate Python 학습 가이드")English |
한국어 |
繁体中文 |
Español |
Deutsch |
Français |
हिन्दी |
Português - Brasil
동기
이 GitHub 저장소는 대학 졸업 후, 대규모 회사에서 근무하면서
그리고 Celery와 Full Stack Python 같은 오픈소스 프로젝트에 기여하면서
지난 5년 이상 동안 배운 core Python에 대한 지식을 공유하기 위해 만들었습니다.
저는 더 많은 사람들이 Python을 배우고 자신의 열정을 추구하길 기대합니다. 🎓
목표
이 가이드를 만드는 주요 목표는 다음과 같습니다:
🏆 실습 학습을 선호하는 Python 초보자를 위한 학습 자료를 제공합니다.
이 저장소에는 PyCharm과 같은 IDE 및 Replit와 같은 브라우저에서 실행할 수 있는 독립형 모듈 모음이 있습니다. 기본 터미널에서도 예제를 실행할 수 있습니다.
대부분의 코드 라인에 프로그램이 단계별로 어떤 작업을 하는지 안내하는 신중하게 작성된 주석이 있습니다.
사용자는 main 루틴을 삭제하지 않고, 각 변경 후에 성공적으로 실행되는 한 소스 코드를 얼마든지 수정할 수 있습니다.
🏆 core Python 개념을 다시 복습하고 싶은 사람들을 위한 순수 가이드를 제공합니다.
여기서는 오직 내장 라이브러리만을 사용하여 이러한 개념을 도메인 특화된 개념의 오버헤드 없이 전달합니다.
따라서 유명한 오픈소스 라이브러리와 프레임워크(sqlalchemy, requests, pandas 등)는 설치되어 있지 않습니다.
그러나, 당신의 목표가 진정한 진정한 Pythonista이 되는 것 이라면 이러한 프레임워크의 소스 코드를 읽는 것은 매우 고무적이고 권장이 됩니다.
시작하기
로컬 컴퓨터에 Git 및 Python을 설치하지 않고도 브라우저에서 작업 환경을 시작하려면 위의 배지를 클릭하세요. 이러한
요구 사항이 이미 충족된 경우, 저장소를 바로 clone해도 됩니다.
저장소에 접근할 수 있게 되면 단독 모듈에서 배울 준비가 된 것입니다. 각 모듈을 최대한 활용하려면 모듈 코드를
읽고 실행하십시오. 모듈을 실행하는 두 가지 방법이 있습니다:
- 단일 모듈 실행 :
python ultimatepython/fundamentals/variable.py - 전체 모듈 실행 :
python runner.py
목차
📚 = 외부 리소스,
🍰 = 초급 주제,
🤯 = 고급 주제
- Python 정보
- 개요 : Python이란 무엇인가 ( 📚, 🍰 )
- 디자인 철학 : The Zen of Python ( 📚 )
- 스타일 가이드 : Python 코드 스타일 가이드 ( 📚, 🤯 )
- 데이터 모델 : 데이터 모델 ( 📚, 🤯 )
- 표준 라이브러리 : Python 표준 라이브러리 ( 📚, 🤯 )
- 내장 함수 : 내장 함수 ( 📚 )
- 기초
- 변수: 내장 리터럴 ( 🍰 )
- 식: 수치 연산 ( 🍰 )
- 문자열: 문자열 연산 ( 🍰 )
- 리스트: 리스트 연산 ( 🍰 )
- 튜플: 튜플 연산
- 세트: 세트 연산
- 딕셔너리: 딕셔너리 연산 ( 🍰 )
- 조건문: if | if-else | if-elif-else ( 🍰 )
- 루프: for-loop | while-loop ( 🍰 )
- 함수: def | lambda ( 🍰 )
- 컴프리헨션: list | tuple | set | dict
- 객체 지향 프로그래밍
- 표준 라이브러리
- 파일 처리: 파일 처리 ( 🤯 )
- 정규 표현식: search | findall | match | fullmatch ( 🤯 )
- 데이터 포맷: json | xml | csv ( 🤯 )
- 날짜와 시간: datetime | timezone ( 🤯 )
- 고급
- 데코레이터: 데코레이터 정의 | wraps ( 🤯 )
- 컨텍스트 관리자: 컨텍스트 관리자 ( 🤯 )
- 메타클래스: 메타클래스 정의 ( 🤯 )
- 약한 참조: weakref ( 🤯 )
- 바다코끼리 연산자: 할당 표현식 := ( 🤯 )
- 인수 제약: 위치 전용 / | 키워드 전용 * ( 🤯 )
- 패턴 매칭: match | case ( 🤯 )
- 템플릿 문자열: 템플릿 문자열 (PEP 750) ( 🤯 )
- 동시성
- 스레드: ThreadPoolExecutor ( 🤯 )
- 비동기: async | await ( 🤯 )
- 서브 인터프리터: concurrent.interpreters ( 🤯 )
- 엔지니어링
- 모킹: MagicMock | PropertyMock | patch ( 🤯 )
- 벤치마크: cProfile | pstats ( 🤯 )
- 비트 연산: 비트 연산자 ( 🍰 ), 1의 보수/2의 보수 ( 📚 )
- 데크: deque ( 🤯 )
- 네임드튜플: namedtuple ( 🤯 )
- 디폴트딕트: defaultdict ( 🤯 )
- 반복자 도구: 반복자 도구 ( 🤯 )
- 딕셔너리 결합: 딕셔너리 병합 | 와 |= ( 🤯 )
- 힙: heap queue ( 🤯 )
- 시간 복잡도: cPython 연산 ( 📚, 🤯 )
추가 자료
👔 = 인터뷰 자료,
🧪 = 코드 샘플,
🧠 = 프로젝트 아이디어
GitHub 저장소
잘 알려진 다른 자료를 읽으면서 계속 배우세요.
핵심 Python 및 패턴
- TheAlgorithms/Python ( 👔, 🧪 )
- faif/python-patterns ( 👔, 🧪 )
- geekcomputers/Python ( 🧪 )
- practical-tutorials/project-based-learning ( 🧠 )
데이터 과학 및 머신러닝
- trekhleb/homemade-machine-learning ( 🧪 )
- microsoft/ML-For-Beginners ( 🧪 )
- microsoft/Data-Science-For-Beginners ( 🧪 )
- academic/awesome-datascience
- josephmisiti/awesome-machine-learning
큐레이션 목록 및 프로젝트 아이디어
- MunGell/awesome-for-beginners ( 🧠 )
- vinta/awesome-python
- lukasmasuch/best-of-python
- freeCodeCamp/freeCodeCamp ( 👔 )
대화형 연습
코딩 실력이 녹슬지 않기 위해 계속 연습하세요.
면접 준비
- leetcode.com ( 👔 )
- hackerrank.com ( 👔 )
- geeksforgeeks.org ( 👔 )
실습 학습
- exercism.io ( 🧪 )
- codewars.com ( 🧪 )
- labex.io ( 🧪 )
- teclado.com ( 🧪 )
- projecteuler.net ( 🧪 )
- kaggle.com ( 🧠 )
File: README.zh_tw.md
Ultimate Python 學習大綱
Ultimate Python 學習大綱 - 適用於新手和專業人士。🐍 🐍 🐍
print("Ultimate Python 學習大綱")English |
한국어 |
繁体中文 |
Español |
Deutsch |
Français |
हिन्दी |
Português - Brasil
動力
我為了分享過去五年作為一個學生,大公司員工,以及開源(例如 Celery 和 Full Stack Python)貢獻者所習得的核心 Python知識而創
建了這個代碼倉庫。我期待更多人能抱持熱忱並開始一段與Python的美好旅程。🎓
目標
這是創建本指南的主要目標:
🏆 為喜歡動手學習的Python新手提供資源。 本存儲庫集合了不同題目的獨立模組範例,而每個模組可以獨立在普通
終端機(Terminal),IDE(如 PyCharm)或者瀏覽器(如 Replit)中運行。範例中的註解都經過精心編寫,引導讀者逐步了解程
式流程。在不刪除主例程(main)並在修改後成功運行大前題下,我鼓勵讀者修改源代碼作練習。
🏆 為想重溫Python核心概念的程式員提供指南。 本存儲庫主要借助內置庫(builtin libraries)作重溫工具,
故不需額外安裝開源庫(如sqlalchemy,requests,pandas)。但是,如果您的目標是成為一個真正的Python
達人(Pythonista),那麼我會鼓勵您閱讀這些源代碼,而激發靈感。
學習之旅
單擊上面的徽章就可在瀏覽器中啟動工作環境,而無需在電腦上額外安裝Git和Python。當你完成啟動,請複製這存儲庫。
當你可以開啟你所複製存儲庫後,您就準備好Python學習之旅!善用每個模組,請細讀註解並嘗試運行模組代碼。
有兩種運行模組的方式:
- 運行單一模組:
python ultimatepython/fundamentals/variable.py - 運行所有模組:
python runner.py
目錄
📚 = 外部資源,
🍰 = 入門題目,
🤯 = 進階題目
- 關於 Python
- 概述:什麼是 Python ( 📚, 🍰 )
- 設計理念:Python之格言 ( 📚 )
- 樣式指南:Python代碼樣式指南 ( 📚, 🤯 )
- 數據模型:數據模型 ( 📚, 🤯 )
- 標準庫:Python標準庫 ( 📚, 🤯 )
- 內置函式:內置函式 ( 📚 )
- 基礎知識
- 變數:內置值 ( 🍰 )
- 運算式:數值運算 ( 🍰 )
- 字串:字串操作 ( 🍰 )
- 列表:列表操作 ( 🍰 )
- 元組:元組操作
- 集合:集合操作
- 字典:字典操作 ( 🍰 )
- 條件運算式:if | if-else | if-elif-else ( 🍰 )
- 迴圈:for迴圈 | while迴圈 ( 🍰 )
- 定義函式:def | lambda ( 🍰 )
- 綜合:list | tuple | set | dict
- 物件導向程式設計
- 標準函式庫
- 文件處理: File Handling ( 🤯 )
- 正規表示式:search | findall | match | fullmatch ( 🤯 )
- 數據格式:json | xml | csv ( 🤯 )
- 日期時間: datetime | timezone ( 🤯 )
- 進階技巧
- 裝飾器:Decorator definition | wraps ( 🤯 )
- 資源管理器:Context managers ( 🤯 )
- 元類:Metaclass定義 ( 🤯 )
- 弱引用:weakref ( 🤯 )
- 海象運算子:賦值表達式 := ( 🤯 )
- 參數強制:僅位置 / | 僅關鍵字 * ( 🤯 )
- 模式匹配:match | case ( 🤯 )
- 模板字串:Template strings (PEP 750) ( 🤯 )
- 併發
- 執行緒:ThreadPoolExecutor ( 🤯 )
- 異步:async | await ( 🤯 )
- 子解釋器:concurrent.interpreters ( 🤯 )
- 工程實踐
- 模擬:MagicMock | PropertyMock | patch ( 🤯 )
- 基準:cProfile | pstats ( 🤯 )
- 按位: 中的位元運算符 ( 🍰 ), 一個的補語/補碼 ( 📚 )
- 雙端隊列:deque ( 🤯 )
- Namedtuple: namedtuple ( 🤯 )
- Defaultdict: defaultdict ( 🤯 )
- 迭代器工具:迭代器工具 ( 🤯 )
- 字典聯合:字典合併 | 和 |= ( 🤯 )
- 堆積: heap queue ( 🤯 )
- 時間複雜度:cPython操作 ( 📚, 🤯 )
額外資源
👔 = 面試資源,
🧪 = 代碼範例,
🧠 = 項目構想
GitHub儲存庫
通過閱讀其他備受尊重的資源來繼續學習。
核心 Python 與模式
- TheAlgorithms/Python ( 👔, 🧪 )
- faif/python-patterns ( 👔, 🧪 )
- geekcomputers/Python ( 🧪 )
- practical-tutorials/project-based-learning ( 🧠 )
資料科學與機器學習
- trekhleb/homemade-machine-learning ( 🧪 )
- microsoft/ML-For-Beginners ( 🧪 )
- microsoft/Data-Science-For-Beginners ( 🧪 )
- academic/awesome-datascience
- josephmisiti/awesome-machine-learning
精選列表與專案構想
- MunGell/awesome-for-beginners ( 🧠 )
- vinta/awesome-python
- lukasmasuch/best-of-python
- freeCodeCamp/freeCodeCamp ( 👔 )
互動練習
繼續練習才能使您的編碼技能不會生疏。
面試準備
- leetcode.com ( 👔 )
- hackerrank.com ( 👔 )
- geeksforgeeks.org ( 👔 )
實作學習
- exercism.io ( 🧪 )
- codewars.com ( 🧪 )
- labex.io ( 🧪 )
- teclado.com ( 🧪 )
- projecteuler.net ( 🧪 )
- kaggle.com ( 🧠 )
2. Official Technical Reference & Guides (huangsam/huangsam.github.io)
GitHub Pages for huangsam
Hosts the code for my personal site.
The codebase has went through multiple phases of JavaScript - and Typescript - but
here's a high-level overview of what's changed over the years:
| Year | Core | Test | Bundle |
|---|---|---|---|
| 2017 | Vanilla JS | Jest, Puppeteer | Webpack |
| 2021 | React, Gatsby | N/A | Webpack |
| 2024 | Svelte, SvelteKit | Vitest, Playwright | Vite |
In all of these cases, the site's HTML and CSS were written from the ground up. No
CSS libraries and frameworks (think Tailwind and Bootstrap) were used in the process
of building this site. It was personally beneficial, as it encouraged me to learn
CSS styling at a deeper level.
Getting started
Here are the commands you need to know:
# Install dependencies
pnpm install
# Run dev server on http://localhost:5173
pnpm dev
# Build and deploy to the gh-pages branch
pnpm github