Beherrschen Sie Python mit interaktiven Real-Python-Quizzes – testen Sie Ihre Fähigkeiten
Überprüfen Sie Ihren Python-Lernfortschritt und bringen Sie Ihre Fähigkeiten mit den interaktiven Tests von Real Python auf die nächste Stufe.
Wir haben diese Online-Python-Tests erstellt, damit Sie auf unterhaltsame Weise Ihren Lernfortschritt überprüfen und Ihre Fähigkeiten testen können.
Jedes Quiz führt Sie durch eine Reihe von Fragen. Bei einigen davon handelt es sich um Multiple-Choice-Fragen, bei anderen werden Sie aufgefordert, eine Antwort einzugeben, und bei anderen müssen Sie echten Python-Code schreiben. Während Sie jedes Quiz absolvieren, wird gezählt, welche Fragen Sie richtig beantwortet haben.
Am Ende jedes Quiz erhalten Sie eine Note, die auf Ihrem Ergebnis basiert. Wenn Sie beim ersten Versuch nicht 100 % erreichen, machen Sie sich keine Sorgen! Diese Tests sollen Sie herausfordern und es wird erwartet, dass Sie sie mehrmals absolvieren und mit jedem Durchlauf Ihre Punktzahl verbessern.
Nehmen Sie am Quiz teil: Testen Sie Ihr Wissen mit unserem interaktiven „Python Skill Test“-Quiz. Nach Abschluss erhalten Sie eine Punktzahl, die Ihnen hilft, Ihren Lernfortschritt zu verfolgen:
Interaktives Quiz
Python-Fähigkeitstest
Testen Sie Ihre Python-Kenntnisse in einem Kompetenzquiz mit einfachen bis fortgeschrittenen Fragen. Sind Sie ein Anfänger, ein Fortgeschrittener, ein Experte oder ein Experte?
Interaktives Quiz
Eine praktische Einführung in Web Scraping in Python
In diesem Quiz testen Sie Ihr Verständnis von Web Scraping in Python. Web Scraping ist ein leistungsstarkes Tool zur Datenerfassung und -analyse. In diesem Quiz erfahren Sie noch einmal, wie Sie Website-Daten mit String-Methoden, regulären Ausdrücken und HTML-Parsern analysieren und wie Sie mit Formularen und anderen Website-Komponenten interagieren.
Interaktives Quiz
Astrals ty Type Checker für Python
Testen Sie Ihr Wissen über Astrals ty – einen rasend schnellen, Rust-basierten Python-Typprüfer. Sie behandeln die Installation, Nutzung, Regelkonfiguration und die aktuellen Einschränkungen des Tools.
Interaktives Quiz
Grundlegende Eingabe und Ausgabe in Python
In diesem Quiz testen Sie Ihr Verständnis der in Python integrierten Funktionen für die Benutzerinteraktion, nämlich input() und print(). Mit diesen Funktionen können Sie Benutzereingaben über die Tastatur erfassen und die Ausgabe jeweils auf der Konsole anzeigen.
Interaktives Quiz
Schöne Suppe:Erstellen Sie einen Web Scraper mit Python
In diesem Quiz testen Sie Ihr Verständnis von Web Scraping mit Python. Wenn Sie dieses Quiz durcharbeiten, erfahren Sie noch einmal, wie Sie die HTML-Struktur einer Zielseite überprüfen, in URLs codierte Daten entschlüsseln und Requests und Beautiful Soup zum Scrapen und Parsen von Daten verwenden.
Interaktives Quiz
Bitweise Operatoren in Python
Testen Sie Ihr Verständnis der bitweisen Python-Operatoren, indem Sie sich Kernkonzepte wie bitweises UND, ODER, XOR, NICHT, Verschiebungen, Bitmasken und ihre Anwendungen noch einmal ansehen.
Interaktives Quiz
Erstellen Sie ein Blog mit Django, GraphQL und Vue
In diesem Quiz testen Sie Ihr Verständnis für den Aufbau eines Django-Blog-Backends und eines Vue-Frontends und verwenden GraphQL für die Kommunikation zwischen ihnen. Dies hilft Ihnen, Ihr Back-End und Front-End zu entkoppeln, die Datenpersistenz in der API zu handhaben und die Daten in einer Single-Page-App (SPA) anzuzeigen.
Interaktives Quiz
Bauen Sie einen Gitarrensynthesizer
In diesem Quiz testen Sie Ihr Verständnis dafür, was zum Erstellen eines Gitarrensynthesizers in Python erforderlich ist. Wenn Sie dieses Quiz durcharbeiten, werden Sie einige Schlüsselkonzepte aus der Musiktheorie und der Klangsynthese noch einmal aufgreifen.
Interaktives Quiz
Erstellen Sie eine Hash-Tabelle in Python mit TDD
Erfahren Sie, wie Python-Hashing Werte in Buckets verteilt und Hash-Tabellen unterstützt. Üben Sie Kollisionen, gleichmäßige Verteilung und testgetriebene Entwicklung.
Interaktives Quiz
Erstellen Sie einen LLM RAG-Chatbot mit LangChain
In diesem Quiz testen Sie Ihr Verständnis für den Aufbau eines RAG-Chatbots (Retrieval-Augmented Generation) mit LangChain und Neo4j. Mit diesem Wissen können Sie benutzerdefinierte Chatbots erstellen, die kontextrelevante Antworten basierend auf strukturierten und unstrukturierten Daten abrufen und generieren können.
Interaktives Quiz
Befehlszeilenschnittstellen mit Pythons argparse erstellen
In diesem Quiz testen Sie Ihr Verständnis für die Erstellung von Befehlszeilenschnittstellen (CLIs) in Python mithilfe des argparse-Moduls. Dieses Wissen ist für die Erstellung benutzerfreundlicher Befehlszeilen-Apps unerlässlich, die in der Entwicklung, Datenwissenschaft und Systemadministration weit verbreitet sind.
Interaktives Quiz
Auswahl der besten Schriftart für die Programmierung
In diesem Quiz testen Sie Ihr Verständnis dafür, wie Sie die beste Schriftart für Ihre tägliche Programmierung auswählen. Sie erhalten Fragen zu den technischen Details und Funktionen, die bei der Auswahl einer Programmierschriftart zu berücksichtigen sind, und frischen Ihr Wissen darüber auf, wie Sie eine hochwertige Programmierschriftart erkennen.
Interaktives Quiz
Kontrollflussstrukturen in Python
In diesem Quiz testen Sie Ihr Verständnis von Python-Kontrollflussstrukturen, einschließlich Bedingungen, Schleifen, Ausnahmebehandlung und strukturellem Musterabgleich. Die Stärkung dieser Fähigkeiten wird Ihnen helfen, dynamischeren, intelligenteren und robusteren Python-Code zu schreiben.
Interaktives Quiz
Datenklassen in Python
In diesem Quiz testen Sie Ihr Verständnis von Python-Datenklassen. Datenklassen, eine in Python 3.7 eingeführte Funktion, sind ein Klassentyp, der hauptsächlich zum Speichern von Daten verwendet wird. Sie verfügen über bereits implementierte Grundfunktionen wie Instanzinitialisierung, Drucken und Vergleich.
Interaktives Quiz
Tiefe vs. flache Kopien in Python
Testen Sie Ihr Verständnis für tiefes und flaches Kopieren in Python. Überprüfen Sie die Zuweisung, die Identität und das korrekte Kopieren komplexer Objekte.
Interaktives Quiz
Python-Funktionen definieren und aufrufen
Üben Sie das Definieren und Aufrufen von Funktionen in Python, einschließlich Parametern, Argumenttypen, Standardwerten und Funktionsdokumentation.
Interaktives Quiz
Python-Funktionen definieren und aufrufen
In diesem Quiz testen Sie Ihr Verständnis für die Definition eigener Python-Funktionen. Sie werden sich sowohl mit den Grundlagen als auch mit der komplexeren Syntax wie args und kwargs befassen, um Ihr Wissen über Funktionsdefinitionen in Python zu vertiefen.
Interaktives Quiz
Hauptfunktionen in Python definieren
In diesem Quiz testen Sie Ihr Verständnis der Python-Funktion main() und der speziellen Variablen __name__. Mit diesem Wissen werden Sie in der Lage sein, die Best Practices für die Definition von main() in Python zu verstehen.
Interaktives Quiz
Definieren Sie Ihre eigene Python-Funktion
In diesem Quiz testen Sie Ihr Verständnis für das Definieren und Aufrufen von Python-Funktionen. Sie werden noch einmal auf das Schlüsselwort „def“, Parameter, Argumente und mehr zurückgreifen.
Interaktives Quiz
Wörterbücher in Python
Testen Sie Ihr Wissen über den dict-Datentyp von Python:Wie Sie mithilfe integrierter Methoden und Operatoren Schlüssel-Wert-Paare erstellen, darauf zugreifen und sie ändern.
Interaktives Quiz
Python-Code dokumentieren:Eine vollständige Anleitung
In diesem Quiz testen Sie Ihr Verständnis für die Dokumentation von Python-Code. Mit diesem Wissen können Sie Ihre Python-Skripte und -Projekte effektiv dokumentieren und sie so verständlicher und wartbarer machen.
Interaktives Quiz
Effektives Testen mit Pytest
In diesem Quiz testen Sie Ihr Verständnis von pytest, einem Python-Testtool. Mit diesem Wissen können Sie effizientere und effektivere Tests schreiben und sicherstellen, dass sich Ihr Code wie erwartet verhält.
Interaktives Quiz
Erkunden Sie Ihren Datensatz mit Pandas
Testen Sie Ihre Pandas-Grundlagen:Kernstrukturen, Indizierung, Filterung, Gruppierung, D-Typen und Kombination von DataFrames.
Interaktives Quiz
Schlüsselwörter in Python erkunden
Testen Sie Ihr Verständnis von Python-Schlüsselwörtern, einschließlich des Unterschieds zwischen regulären und weichen Schlüsselwörtern, Schlüsselwortkategorien und häufigen Fallstricken.
Interaktives Quiz
Protokolle in Python erkunden
Testen Sie Ihr Wissen über Python-Protokolle, strukturelle Subtypisierung und statische Typprüfung, einschließlich der Verwendung von generischen und Subprotokollen.
Interaktives Quiz
Python-Abschlüsse erkunden:Beispiele und Anwendungsfälle
In diesem Quiz testen Sie Ihr Verständnis von Python-Abschlüssen. Abschlüsse sind ein häufiges Merkmal in funktionalen Programmiersprachen und besonders beliebt in Python, da Sie damit funktionsbasierte Dekoratoren erstellen können.
Interaktives Quiz
Python-T-Strings erkunden
Entdecken Sie die T-Strings von Python, einschließlich ihrer Syntax, Anwendungsfälle und Unterschiede zu F-Strings und älteren Ansätzen.
Interaktives Quiz
Erste Schritte mit LangChain
Große Sprachmodelle (LLMs) haben die Welt im Sturm erobert. In diesem Schritt-für-Schritt-Videokurs lernen Sie, wie Sie mit der LangChain-Bibliothek LLM-unterstützte Anwendungen erstellen.
Interaktives Quiz
Floats innerhalb von F-Strings formatieren
In diesem Quiz testen Sie Ihr Verständnis für die Formatierung von Floats in F-Strings in Python. Mit diesem Wissen können Sie die Genauigkeit und das Erscheinungsbild von Gleitkommazahlen steuern, wenn Sie diese in formatierte Zeichenfolgen integrieren.
Interaktives Quiz
Funktionale Programmierung in Python:Wann und wie man sie verwendet
In diesem Quiz testen Sie Ihr Verständnis der funktionalen Programmierung in Python. Sie werden Konzepte wie Funktionen als First-Class-Bürger in Python, die Verwendung des Schlüsselworts Lambda und die Implementierung von Funktionscode mithilfe von map(), filter() und Reduce() noch einmal aufgreifen.
Interaktives Quiz
Generieren Sie Bilder mit DALL·E und der OpenAI-API
In diesem Quiz testen Sie Ihr Verständnis für die Generierung von Bildern mit DALL·E von OpenAI unter Verwendung von Python. Sie werden Konzepte wie die Verwendung der OpenAI-Python-Bibliothek, das Durchführen von API-Aufrufen zur Bildgenerierung, das Erstellen von Bildern aus Texteingabeaufforderungen und das Konvertieren von Base64-Zeichenfolgen in PNG-Bilddateien noch einmal besprechen.
Interaktives Quiz
Erste Schritte mit Django:Erstellen Sie eine Portfolio-App
In diesem Quiz testen Sie Ihr Verständnis von Django, einem voll ausgestatteten Python-Webframework. Wenn Sie dieses Quiz durcharbeiten, wiederholen Sie die Schritte zum Erstellen einer voll funktionsfähigen Webanwendung und lernen einige der wichtigsten Funktionen von Django kennen.
Interaktives Quiz
Erste Schritte mit FastAPI
In diesem praktischen Quiz werden Ihre Kenntnisse der FastAPI-Grundlagen getestet, von der Installation und Endpunkten bis hin zu automatischen JSON-Antworten und der Swagger-Benutzeroberfläche.
Interaktives Quiz
Getter und Setter:Attribute in Python verwalten
In diesem Quiz testen Sie Ihr Verständnis der Getter- und Setter-Methoden sowie der Eigenschaften von Python. Sie erfahren, wann Sie diese Tools verwenden und wie sie dazu beitragen können, die Kapselung in Ihren Kursen aufrechtzuerhalten.
Interaktives Quiz
Erste Schritte mit Async-Funktionen in Python
In diesem Quiz testen Sie Ihr Verständnis der asynchronen Programmierung in Python. Sie befassen sich erneut mit den Konzepten synchroner und asynchroner Programme und erfahren, warum Sie möglicherweise ein asynchrones Programm schreiben möchten. Außerdem testen Sie Ihr Wissen über die Verwendung der asynchronen Python-Funktionen.
Interaktives Quiz
Erste Schritte mit Python IDLE
In diesem Quiz testen Sie Ihr Verständnis von Python IDLE, der standardmäßigen integrierten Entwicklungsumgebung (IDE), die im Lieferumfang jeder Python-Installation enthalten ist. Sie erfahren noch einmal, wie Sie direkt in IDLE mit Python interagieren und Python-Dateien bearbeiten und ausführen.
Interaktives Quiz
Erste Schritte mit dem Testen in Python
In diesem Quiz testen Sie Ihr Verständnis für Python-Tests. Mit diesem Wissen können Sie grundlegende Tests erstellen, ausführen und Fehler finden, bevor Ihre Benutzer es tun.
Interaktives Quiz
GitHub-Aktionen für Python
In diesem Quiz testen Sie Ihr Verständnis von GitHub Actions für Python. Wenn Sie dieses Quiz durcharbeiten, erfahren Sie noch einmal, wie Sie GitHub-Aktionen und -Workflows verwenden, um Linting, Tests und die Bereitstellung eines Python-Projekts zu automatisieren.
Interaktives Quiz
Wie können Sie Ihr Python-Skript strukturieren?
In diesem Quiz testen Sie Ihr Verständnis für die Organisation und Strukturierung von Python-Skripten. Sie werden wichtige Konzepte zu Best Practices zum Schreiben von klarem, wartbarem und ausführbarem Python-Code noch einmal besprechen.
Interaktives Quiz
Wie wählt man Python-Funktionsnamen aus?
In diesem Quiz testen Sie Ihr Verständnis für die Auswahl von Python-Funktionsnamen. Wenn Sie dieses Quiz durcharbeiten, lernen Sie die Regeln und Konventionen für die Benennung von Python-Funktionen kennen und erfahren, warum sie für das Schreiben von Python-Code wichtig sind.
Interaktives Quiz
So fügen Sie Python zu PATH hinzu
Testen Sie Ihr Wissen über die PATH-Variable und erfahren Sie, wie Sie Python unter Windows, Linux und macOS für einen einfachen Terminalzugriff hinzufügen.
Interaktives Quiz
So überprüfen Sie, ob ein Python-String einen Teilstring enthält
In diesem Quiz überprüfen Sie Ihr Verständnis dafür, wie Sie am besten überprüfen können, ob ein Python-String einen Teilstring enthält. Sie werden sich auch mit idiomatischen Methoden befassen, um die Teilzeichenfolge weiter zu untersuchen, Teilzeichenfolgen mithilfe regulärer Ausdrücke mit Bedingungen abzugleichen und in Pandas nach Teilzeichenfolgen zu suchen.
Interaktives Quiz
So erstellen Sie ein Django-Projekt
Überprüfen Sie Ihre Django-Setup-Kenntnisse. Sicher installieren und Anforderungen pinnen, ein Projekt und eine App erstellen. Beginnen Sie mit der Erstellung Ihrer ersten Website.
Interaktives Quiz
So erstellen Sie Pivot-Tabellen mit Pandas
Dieses Quiz soll Ihr Wissen über Pivot-Tabellen ein wenig erweitern. Sie werden nicht alle Antworten finden, wenn Sie das Tutorial lesen, daher müssen Sie selbst einige Nachforschungen anstellen. Wenn Sie alle Antworten finden, werden Sie nebenbei sicher noch einige andere interessante Dinge lernen.
Interaktives Quiz
Wie man mit fehlenden Daten in Polaren umgeht
In diesem Quiz testen Sie Ihr Wissen über die Arbeit mit Nulldaten in Polars. Da Sie im Tutorial nicht alle Antworten finden, müssen Sie zusätzliche Nachforschungen anstellen. Wenn Sie alle Antworten finden, werden Sie nebenbei sicher einige interessante Dinge lernen.
Interaktives Quiz
So debuggen Sie häufige Python-Fehler
Nehmen Sie an diesem Quiz teil, um die wichtigsten Python-Debugging-Techniken wie das Lesen von Tracebacks, die Verwendung von print() und das Setzen von Haltepunkten zum Suchen und Beheben von Fehlern kennenzulernen.
Interaktives Quiz
So löschen Sie Nullwerte in Pandas
Testen Sie sich selbst mit Pandas .dropna():Entfernen Sie Nullen, bereinigen Sie fehlende Daten und bereiten Sie DataFrames für eine genaue Analyse vor.
Interaktives Quiz
So finden Sie einen absoluten Wert in Python
In diesem Quiz testen Sie Ihr Wissen über die Berechnung absoluter Werte in Python und beherrschen sowohl integrierte Funktionen als auch häufige Anwendungsfälle, um Ihre Codierungsgenauigkeit zu verbessern.
Interaktives Quiz
So reduzieren Sie eine Liste von Listen in Python
In diesem Quiz testen Sie Ihr Verständnis dafür, wie man eine Liste in Python reduziert. Beim Reduzieren einer Liste wird eine mehrdimensionale Liste, beispielsweise eine Matrix, in eine eindimensionale Liste umgewandelt. Dies ist ein häufiger Vorgang beim Arbeiten mit Daten, die als verschachtelte Listen gespeichert sind.
Interaktives Quiz
So gruppieren Sie Daten mit Polars .group_by()
Stellen Sie Ihre Polars .group_by()- und Aggregationsfähigkeiten auf die Probe. Dieses Quiz geht über das Tutorial hinaus, daher müssen Sie tiefer graben, um alle Antworten zu finden.
Interaktives Quiz
So installieren Sie Python auf Ihrem System:Eine Anleitung
In diesem Quiz testen Sie Ihr Verständnis dafür, wie Sie Python auf Ihrem Computer installieren oder aktualisieren. Mit diesem Wissen können Sie Python auf verschiedenen Betriebssystemen einrichten, darunter Windows, macOS und Linux.
Interaktives Quiz
So verbinden Sie Strings in Python
Testen Sie Ihr Verständnis der String-Methode .join() von Python zum Kombinieren von Strings, zur Behandlung von Randfällen und zur Optimierung der Leistung.
Interaktives Quiz
So verwalten Sie Python-Projekte mit pyproject.toml
In diesem Quiz testen Sie Ihr Verständnis der Python-Datei pyproject.toml, die die Python-Projektkonfiguration durch die Vereinheitlichung der Paketeinrichtung, die Verwaltung von Abhängigkeiten und die Optimierung von Builds vereinfacht.
Interaktives Quiz
So entfernen Sie Elemente aus Listen in Python
In diesem Quiz testen Sie Ihr Verständnis für das Entfernen von Elementen aus Listen in Python. Dies ist eine grundlegende Fähigkeit in der Python-Programmierung, und wenn Sie sie beherrschen, können Sie Listen effektiv bearbeiten.
Interaktives Quiz
So setzen Sie einen Pandas-DataFrame-Index zurück
Dieses Quiz stellt Ihr Wissen über das Zurücksetzen von Indizes in Pandas DataFrames auf die Probe. Da Sie im Tutorial nicht alle Antworten finden, müssen Sie zusätzliche Nachforschungen anstellen. Wenn Sie alle Antworten finden, werden Sie nebenbei sicher einige interessante Dinge lernen.
Interaktives Quiz
So führen Sie Ihre Python-Skripte aus
Eine der wichtigsten Fähigkeiten, die Sie als Python-Entwickler erwerben müssen, ist die Fähigkeit, Python-Skripte und -Code auszuführen. Testen Sie Ihr Verständnis dafür, wie gut Sie Ihren Code ausführen können.
Interaktives Quiz
So teilen Sie einen String in Python
In diesem Quiz testen Sie Ihr Verständnis der .split()-Methode von Python. Diese Methode ist nützlich für Textverarbeitungs- und Datenanalyseaufgaben, da sie es Ihnen ermöglicht, eine Zeichenfolge basierend auf einem angegebenen Trennzeichen in eine Liste von Teilzeichenfolgen zu unterteilen.
Interaktives Quiz
So entfernen Sie Zeichen aus einem Python-String
In diesem Quiz testen Sie Ihr Verständnis der Python-Methoden .strip(), .lstrip() und .rstrip() sowie .removeprefix() und .removesuffix(). Diese Methoden sind nützlich für Aufgaben wie das Bereinigen von Benutzereingaben, das Standardisieren von Dateinamen und das Vorbereiten von Daten für die Speicherung.
Interaktives Quiz
So verwenden Sie bedingte Ausdrücke mit NumPy where()
Ziel dieses Quiz ist es, Ihr Verständnis der Funktion np.where() zu testen. Da Sie im Tutorial nicht alle Antworten finden, müssen Sie zusätzliche Nachforschungen anstellen. Es wird empfohlen, dass Sie sicherstellen, dass Sie alle Übungen des Tutorials beherrschen, bevor Sie dieses Quiz in Angriff nehmen. Viel Spaß!
Interaktives Quiz
So verwenden Sie Generatoren und Yield in Python
In diesem Quiz testen Sie Ihr Verständnis von Python-Generatoren und der Yield-Anweisung. Mit diesem Wissen können Sie auf pythonischere Weise mit großen Datensätzen arbeiten, Generatorfunktionen und -ausdrücke erstellen und Datenpipelines erstellen.
Interaktives Quiz
So verwenden Sie Git:Ein Leitfaden für Anfänger
Testen Sie Ihr Wissen über die Git-Grundlagen:Repos initialisieren, Dateien bereitstellen, Snapshots festschreiben und Ihren Projektverlauf verwalten.
Interaktives Quiz
So verwenden Sie Python:Ihre ersten Schritte
Erlernen Sie in diesem Quiz die Grundlagen von Python. Üben Sie Syntax, Schlüsselwörter, Variablen, Fehler und Tools, die jeder Anfänger kennen sollte.
Interaktives Quiz
So verwenden Sie sorted() und .sort() in Python
In diesem Quiz testen Sie Ihr Verständnis für das Sortieren in Python mithilfe von sorted() und .sort(). Sie erfahren noch einmal, wie Sie verschiedene Datentypen in unterschiedlichen Datenstrukturen sortieren, die Reihenfolge anpassen und mit zwei verschiedenen Sortiermethoden in Python arbeiten.
Interaktives Quiz
So arbeiten Sie mit Polars LazyFrames
Dieses Quiz stellt Ihr Wissen über die Arbeit mit Polars LazyFrames auf die Probe. Da Sie im Tutorial nicht alle Antworten finden, müssen Sie zusätzliche Nachforschungen anstellen. Wenn Sie alle Antworten finden, werden Sie nebenbei sicher einige interessante Dinge lernen.
Interaktives Quiz
So schreiben Sie schönen Python-Code mit PEP 8
In diesem Quiz testen Sie Ihr Verständnis von PEP 8, dem Python Enhancement Proposal, das Richtlinien und Best Practices zum Schreiben von Python-Code bietet. Wenn Sie dieses Quiz durcharbeiten, lernen Sie die wichtigsten Richtlinien von PEP 8 noch einmal kennen und erfahren, wie Sie Ihre Entwicklungsumgebung zum Schreiben von PEP 8-kompatiblem Python-Code einrichten.
Interaktives Quiz
So schreiben Sie Docstrings in Python
Testen Sie Ihr Wissen über Python-Dokumentzeichenfolgen, einschließlich Syntax, Konventionen, Formate und wie Sie auf Dokumentation zugreifen und diese generieren.
Interaktives Quiz
Umarmende Gesichtstransformatoren
In diesem Quiz testen Sie Ihr Verständnis der Hugging Face Transformers-Bibliothek. Diese Bibliothek ist eine beliebte Wahl für die Arbeit mit Transformatormodellen in Aufgaben zur Verarbeitung natürlicher Sprache, Computer Vision und anderen Anwendungen des maschinellen Lernens.
Interaktives Quiz
Implementieren einer Schnittstelle in Python
In diesem Quiz testen Sie Ihr Verständnis von Python-Schnittstellen und ihrer Rolle in der Softwareentwicklung. Sie erfahren, wie Schnittstellen dabei helfen können, die Komplexität einer wachsenden Anwendung zu verwalten, und wie Sie sie in Python implementieren.
Interaktives Quiz
Vererbung und Zusammensetzung:Ein Python-OOP-Leitfaden
In diesem Quiz testen Sie Ihr Verständnis von Vererbung und Komposition in Python. Dies sind zwei Hauptkonzepte der objektorientierten Programmierung, die dabei helfen, die Beziehung zwischen zwei Klassen zu modellieren. Wenn Sie dieses Quiz durcharbeiten, erfahren Sie noch einmal, wie Sie Vererbung und Komposition in Python verwenden, Klassenhierarchien modellieren und Mehrfachvererbung verwenden.
Interaktives Quiz
Python-Anwendungen mit pipx installieren und ausführen
In diesem Quiz testen Sie Ihr Verständnis dafür, wie Python-Apps mithilfe des pipx-Tools in isolierten virtuellen Umgebungen ausgeführt werden. Mit diesem Wissen können Sie Python-Apps, die global in Ihrem Betriebssystem installiert sind, sicher ausführen.
Interaktives Quiz
Interaktion mit Python
Testen Sie Ihr Wissen über Pythons REPL, indem Sie Skripte aus Dateien ausführen, IDEs und Code-Editoren sowie Jupyter-Notebooks verwenden.
Interaktives Quiz
Wir stellen DuckDB vor
Dieses Quiz stellt Ihr Wissen über die Arbeit mit DuckDB auf die Probe. Da Sie im Tutorial nicht alle Antworten finden, müssen Sie zusätzliche Nachforschungen anstellen. Wenn Sie alle Antworten finden, werden Sie nebenbei sicher einige interessante Dinge lernen.
Interaktives Quiz
Iteratoren und Iterables in Python:Effiziente Iterationen ausführen
In diesem Quiz testen Sie Ihr Verständnis der Iteratoren und Iterables von Python. Wenn Sie dieses Quiz durcharbeiten, erfahren Sie noch einmal, wie Sie Iteratoren und Iterables erstellen und damit arbeiten, welche Unterschiede zwischen ihnen bestehen und wie Sie Generatorfunktionen verwenden.
Interaktives Quiz
LangGraph:Erstellen Sie zustandsbehaftete KI-Agenten in Python
Nehmen Sie an diesem Quiz teil, um Ihr Verständnis von LangGraph zu testen, einer Python-Bibliothek, die für zustandsbehaftete, zyklische und Multi-Actor-LLM-Anwendungen (Large Language Model) entwickelt wurde. Wenn Sie dieses Quiz durcharbeiten, erfahren Sie noch einmal, wie Sie LLM-Workflows und -Agenten in LangGraph erstellen.
Interaktives Quiz
Lineare Regression in Python
In diesem Quiz testen Sie Ihr Wissen über lineare Regression in Python. Die lineare Regression ist eine der grundlegenden statistischen und maschinellen Lerntechniken, und Python ist eine beliebte Wahl für maschinelles Lernen.
Interaktives Quiz
Listen vs. Tupel in Python
Fordern Sie sich selbst mit diesem Quiz heraus, um Ihr Verständnis von Python-Listen und -Tupeln zu bewerten und zu vertiefen. Sie lernen Schlüsselkonzepte kennen, etwa das Erstellen, Zugreifen auf und Bearbeiten dieser Datentypen, und lernen gleichzeitig Best Practices für deren effiziente Verwendung in Ihrem Code kennen.
Interaktives Quiz
Anmelden in Python
In diesem Quiz testen Sie Ihr Verständnis des Protokollierungsmoduls von Python. Mit diesem Wissen können Sie Ihren Anwendungen eine Protokollierung hinzufügen, die Ihnen beim Debuggen von Fehlern und bei der Leistungsanalyse helfen kann.
Interaktives Quiz
marimo:Ein reaktives, reproduzierbares Notizbuch
Dieses Quiz ist eine großartige Möglichkeit, das, was Sie über Marimo-Notizbücher gelernt haben, zu vertiefen und darauf aufzubauen. Die meisten Antworten finden Sie im Tutorial, aber Sie müssen einige zusätzliche Recherchen durchführen, um einige der Antworten zu finden.
Interaktives Quiz
While-Schleifen beherrschen
Üben Sie die unbestimmte Iteration mit der Python-„while“-Schleife. Testen Sie noch heute Ihr Wissen über Python-Schleifen, Schlüsselwörter und Best Practices.
Interaktives Quiz
Model-View-Controller (MVC) in Python-Web-Apps:erklärt mit Lego
In diesem Quiz testen Sie Ihr Verständnis des Model-View-Controller (MVC)-Entwurfsmusters, einem grundlegenden Konzept in vielen Python-Web-Frameworks. Durch die Bearbeitung dieses Quiz lernen Sie die Konzepte von Modellen, Ansichten und Controllern noch einmal kennen und erfahren, wie sie sich auf konkrete Webentwicklungsbeispiele beziehen.
Interaktives Quiz
Modernes Python-Linting mit Halskrause
Testen Sie Ihre Ruff-Fähigkeiten in einem kurzen Quiz. Üben Sie Installationsprüfungen, fortlaufendes Linting, Formatierung, Regelauswahl, automatische Korrekturen und Konfiguration.
Interaktives Quiz
Namespaces und Geltungsbereich in Python
In diesem Quiz testen Sie Ihr Verständnis von Python-Namespaces und dem Variablenbereich. Diese Konzepte sind entscheidend für die Organisation der symbolischen Namen, die Objekten in einem Python-Programm zugewiesen werden, und um sicherzustellen, dass sie sich nicht gegenseitig stören.
Interaktives Quiz
Namespaces in Python
In diesem Quiz testen Sie Ihr Verständnis von Python-Namespaces. Diese Konzepte sind entscheidend für die Organisation der symbolischen Namen, die Objekten in einem Python-Programm zugewiesen werden, und um sicherzustellen, dass sie sich nicht gegenseitig stören.
Interaktives Quiz
Verschachtelte Schleifen in Python
Mit verschachtelten Schleifen können Sie wiederholte Aktionen über mehrere Sequenzen hinweg ausführen. Aber gibt es noch mehr? Testen Sie Ihr Verständnis für verschachtelte Schleifen in Python!
Interaktives Quiz
NumPy-Praxisbeispiele:Nützliche Techniken
In diesem Quiz testen Sie Ihr Verständnis für die Arbeit mit NumPy-Arrays. Da Sie im Tutorial nicht alle Antworten finden, müssen Sie zusätzliche Nachforschungen anstellen. Wenn Sie alle Antworten finden, werden Sie nebenbei sicher einige interessante Dinge lernen.
Interaktives Quiz
Operatoren und Ausdrücke in Python
Testen Sie Ihr Verständnis von Operatoren und Ausdrücken in Python, einschließlich Arithmetik-, Vergleichs-, Booleschen- und Identitätsoperatoren.
Interaktives Quiz
Polarbären vs. Pandas:Was ist der Unterschied?
Nehmen Sie an diesem Quiz teil, um Ihr Wissen über das Tutorial „Polars vs. Pandas“ zu testen und die wichtigsten Unterschiede zwischen diesen Open-Source-Python-Bibliotheken kennenzulernen.
Interaktives Quiz
Praktisches Prompt Engineering
In diesem Quiz testen Sie Ihr Verständnis von Prompt-Engineering-Techniken mit großen Sprachmodellen (LLMs) wie GPT-3.5 und GPT-4. Sie lernen noch einmal, wie Sie mit der API von OpenAI arbeiten, wenden Prompt-Engineering-Techniken auf praktische Beispiele an und nutzen verschiedene Strategien, um Ihre Ergebnisse zu verbessern.
Interaktives Quiz
Einführung in Jinja Templating
In diesem Quiz testen Sie Ihr Verständnis von Jinja-Templating. Jinja ist ein leistungsstarkes Tool zum Erstellen umfangreicher Vorlagen in Python-Webanwendungen und kann auch zum Erstellen von Textdateien mit programmatischem Inhalt verwendet werden.
Interaktives Quiz
Einführung in Python-Dekoratoren
In diesem Quiz befassen Sie sich noch einmal mit den grundlegenden Konzepten dessen, was Python-Dekoratoren sind und wie man sie erstellt und verwendet.
Interaktives Quiz
Leistungsprofilierung in Python
Testen Sie Ihr Wissen über Python-Profiling- und Leistungstools. Üben Sie, Engpässe zu identifizieren und Profiler wie cProfile und timeit zu verwenden.
Interaktives Quiz
Pydantic:Vereinfachte Datenvalidierung in Python
In diesem Quiz testen Sie Ihr Verständnis von Pydantic, einer leistungsstarken Datenvalidierungsbibliothek für Python. Sie werden Konzepte wie das Arbeiten mit Datenschemata, das Schreiben benutzerdefinierter Validatoren, das Validieren von Funktionsargumenten und das Verwalten von Einstellungen mit pydantic-settings noch einmal aufgreifen.
Interaktives Quiz
Python 3.13:Coole neue Funktionen zum Ausprobieren
In diesem Quiz testen Sie Ihr Verständnis der neuen Funktionen, die in Python 3.13 eingeführt wurden. Wenn Sie dieses Quiz durcharbeiten, werden Sie die wichtigsten Aktualisierungen und Verbesserungen in dieser Python-Version kennenlernen.
Interaktives Quiz
Python 3.13:Kostenloses Threading und ein JIT-Compiler
In diesem Quiz testen Sie Ihr Verständnis der neuen Funktionen in Python 3.13. Sie erfahren noch einmal, wie Sie einen benutzerdefinierten Python-Build kompilieren, die Global Interpreter Lock (GIL) deaktivieren, den Just-In-Time (JIT)-Compiler aktivieren und vieles mehr.
Interaktives Quiz
Python 3.14:Coole neue Funktionen zum Ausprobieren
In diesem Quiz testen Sie Ihr Verständnis der neuen Funktionen, die in Python 3.14 eingeführt wurden. Wenn Sie dieses Quiz durcharbeiten, werden Sie die wichtigsten Aktualisierungen und Verbesserungen in dieser Python-Version kennenlernen.
Interaktives Quiz
Python- und REST-APIs:Interaktion mit Webdiensten
In diesem Quiz testen Sie Ihr Verständnis von REST-APIs und wie Sie mit Python mit ihnen interagieren. Mit diesem Wissen können Sie Daten abrufen, analysieren, aktualisieren und bearbeiten, die von jeder RESTful-API bereitgestellt werden, an der Sie interessiert sind.
Interaktives Quiz
Python-Anmerkungen
Testen Sie Ihr Wissen über Anmerkungen und Typhinweise, einschließlich der Art und Weise, wie verschiedene Python-Versionen diese zur Laufzeit auswerten.
Interaktives Quiz
Python-Argumente und -Kwargs:Entmystifiziert
In diesem Quiz testen Sie Ihr Verständnis für die Verwendung von *args und **kwargs in Python. Mit diesem Wissen können Sie Ihren Funktionen mehr Flexibilität verleihen.
Interaktives Quiz
Python-Grundlagen:Systeme mit Klassen erstellen
Mit Klassen können Sie komplexe Systeme in Python erstellen. By composing classes, inheriting from other classes, and overriding class behavior, you'll harness the power of object-oriented programming (OOP).
Interactive Quiz
Python Basics:Conditional Logic and Control Flow
With conditional logic, you can write programs that perform different actions based on different conditions. Paired with functions and loops, conditional logic allows you to write complex programs that can handle many different situations.
Interactive Quiz
Python Basics:Dictionaries
Python dictionaries, like lists and tuples, store a collection of objects. However, instead of storing objects in a sequence, dictionaries hold information in pairs of data called key-value pairs.
Interactive Quiz
Python Basics:File System Operations
The pathlib module allows you to carry out file path operations with Python. These operations include creating, iterating over, searching for, moving, and deleting files and folders.
Interactive Quiz
Python Basics:Finding and Fixing Code Bugs
Logic errors occur when an otherwise valid program doesn't do what was intended. They cause unexpected behaviors called bugs. Removing bugs is called debugging, and a debugger is a tool that helps you hunt down bugs and understand why they're happening.
Interactive Quiz
Python Basics:Functions and Loops
Functions break code into smaller chunks and are great for defining actions that a program will execute several times throughout your code. Instead of writing the same code each time the program needs to perform the same task, just call the function!
Interactive Quiz
Python Basics:Installing Packages With pip
Even though Python is famous for coming with batteries included, you'll still find yourself in need of a third-party library from time to time. You can install such packages with pip.
Interactive Quiz
Python Basics:Lists and Tuples
Test your knowledge of Python lists and tuples, including creating, indexing, slicing, mutability, and nesting.
Interactive Quiz
Python Basics:Modules and Packages
You can build an application by putting related code into separate files called modules. Then, you can use the import statement to use modules in another file.
Interactive Quiz
Python Basics:Numbers and Math
You don't need to be a math whiz to program well, but numbers are an integral part of any programming language. Python is no exception.
Interactive Quiz
Python Basics:Object-Oriented Programming
OOP, or object-oriented programming, is a method of structuring a program by bundling related properties and behaviors into individual objects. In this quiz, you'll test your understanding of OOP.
Interactive Quiz
Python Basics:Reading and Writing Files
By reading and writing files, you can move data back and forth between your Python programs and external software. The CSV file format is particularly useful, as it's one of the most widely supported file formats for transferring tabular data.
Interactive Quiz
Python Basics:Scopes
To fully understand functions and loops in Python, you need to be familiar with the issue of scope, which determines where a name is visible within your program.
Interactive Quiz
Python Basics:Setting Up Python
Test your knowledge of installing Python on Windows, macOS, and Ubuntu, setting PATH, and using IDLE with this quick quiz.
Interactive Quiz
Python Basics:Strings and String Methods
Strings are a fundamental data type in Python. In simplified terms, strings are collections of text, and they show up in many contexts. For example, strings can come from user input, data read from a file, or messages sent by equipment talking over a network.
Interactive Quiz
Python Bytes
In this quiz, you'll test your understanding of Python bytes objects. By working through this quiz, you'll revisit the key concepts related to this low-level data type.
Interactive Quiz
Python Closures:Common Use Cases and Examples
In this quiz, you'll test your understanding of Python closures. Closures are a common feature in functional programming languages and are particularly popular in Python because they allow you to create function-based decorators.
Interactive Quiz
Python Code Quality:Best Practices and Tools
In this quiz, you'll test your understanding of Python code quality, tools, and best practices. By working through this quiz, you'll revisit the importance of producing high-quality Python code that's functional, readable, maintainable, efficient, and secure.
Interactive Quiz
Python Concurrency
In this quiz, you'll test your understanding of Python concurrency. You'll revisit the different forms of concurrency in Python, how to implement multi-threaded and asynchronous solutions for I/O-bound tasks, and how to achieve true parallelism for CPU-bound tasks.
Interactive Quiz
Python Decorators 101
Work through this quiz to review first-class functions, inner functions, and decorators, and learn how to use them to extend behavior cleanly in Python.
Interactive Quiz
Python Descriptors:An Introduction
Learn how Python descriptors control attribute access, use special methods for getting and setting values, and implement read-only attributes.
Interactive Quiz
Python Dictionary Comprehensions:How and When to Use Them
In this quiz, you'll test your understanding of Python dictionary comprehensions. Dictionary comprehensions are a concise and quick way to create, transform, and filter dictionaries in Python, and can significantly enhance your code's conciseness and readability.
Interactive Quiz
Python Dictionary Iteration
Dictionaries are one of the most important and useful data structures in Python. Learning how to iterate through a Dictionary can help you solve a wide variety of programming problems in an efficient way. Test your understanding on how you can use them better!
Interactive Quiz
Python Exceptions:An Introduction
In this quiz, you'll test your understanding of Python exceptions. You'll cover the difference between syntax errors and exceptions and learn how to raise exceptions, make assertions, and use the try and except block.
Interactive Quiz
Python Folium:Create Web Maps From Your Data
Python’s Folium library gives you access to the mapping strengths of the Leaflet JavaScript library through a Python API. It allows you to create interactive geographic visualizations that you can share as a website.
Interactive Quiz
Python for Loops:The Pythonic Way
In this quiz, you'll test your understanding of Python's for loop. You'll revisit how to iterate over items in a data collection, how to use range() for a predefined number of iterations, and how to use enumerate() for index-based iteration.
Interactive Quiz
Python GUI Programming With Tkinter
In this quiz, you'll test your understanding of Python GUI Programming With Tkinter, the de facto Python GUI framework. Check your knowledge of GUI programming concepts such as widgets, geometry managers, and event handlers.
Interactive Quiz
Python import:Advanced Techniques and Tips
In this quiz, you'll test your understanding of Python's import statement and how it works. You'll revisit how to use modules and import them dynamically at runtime.
Interactive Quiz
Python Keywords:An Introduction
In this quiz, you'll test your understanding of Python keywords and soft keywords. These reserved words have specific functions and restrictions in Python, and understanding how to use them correctly is fundamental for building Python programs.
Interactive Quiz
Python Lambda Functions
Python lambdas are little, anonymous functions, subject to a more restrictive but more concise syntax than regular Python functions. Test your understanding on how you can use them better!
Interactive Quiz
Python Mappings
In this quiz, you'll test your understanding of the basic characteristics and operations of Python mappings. By working through this quiz, you'll revisit the key concepts and techniques of creating a custom mapping.
Interactive Quiz
Python Modules and Packages
In this quiz, you'll test your understanding of Python modules and packages, which are mechanisms that facilitate modular programming. Modular programming involves breaking a large programming task into smaller, more manageable subtasks or modules. This approach has several advantages, including simplicity, maintainability, and reusability.
Interactive Quiz
Python Name-Main Idiom
Test your knowledge of Python's if __name__ =="__main__" idiom by answering a series of questions! You've probably encountered the name-main idiom and might have even used it in your own scripts. But did you use it correctly?
Interactive Quiz
Python Namespace Packages
Practice your knowledge about namespace packages in Python. Revisit managing multiple packages without an __init__.py file.
Interactive Quiz
Python Project Management With uv
Test your skills with uv, the fast Python project manager. Practice setup, package installs, and key files created by uv.
Interactive Quiz
Python Raw Strings
In this quiz, you can practice your understanding of how to use raw string literals in Python. With this knowledge, you'll be able to write cleaner and more readable regular expressions, Windows file paths, and many other string literals that deal with escape character sequences.
Interactive Quiz
Python's Built-in Exceptions:A Walkthrough With Examples
In this quiz, you'll test your understanding of Python's built-in exceptions. With this knowledge, you'll be able to effectively identify and handle these exceptions when they appear. Additionally, you'll be more familiar with how to raise some of these exceptions in your code.
Interactive Quiz
Python's Built-in Functions:A Complete Exploration
Take this quiz to test your knowledge about the available built-in functions in Python. By taking this quiz, you'll deepen your understanding of how to use these functions and the common programming problems they cover, from mathematical computations to Python-specific features.
Interactive Quiz
Python's Bytearray
In this quiz, you'll test your understanding of Python's bytearray data type. By working through this quiz, you'll revisit the key concepts and uses of bytearray in Python.
Interactive Quiz
Python's enumerate()
Once you learn about for loops in Python, you know that using an index to access items in a sequence isn't very Pythonic. So what do you do when you need that index value? In this tutorial, you'll learn all about Python's built-in enumerate(), where it's used, and how you can emulate its behavior.
Interactive Quiz
Python Sequences:A Comprehensive Guide
In this quiz, you'll test your understanding of sequences in Python. You'll revisit the basic characteristics of a sequence, operations common to most sequences, special methods associated with sequences, and how to create user-defined mutable and immutable sequences.
Interactive Quiz
Python Set Comprehensions:How and When to Use Them
In this quiz, you'll test your understanding of Python set comprehensions. Set comprehensions are a concise and quick way to create, transform, and filter sets in Python. They can significantly enhance your code's conciseness and readability compared to using regular for loops to process your sets.
Interactive Quiz
Python Sets
In this quiz, you'll assess your understanding of Python's built-in set data type. You'll revisit the definition of unordered, unique, hashable collections, how to create and initialize sets, and key set operations.
Interactive Quiz
Python's Instance, Class, and Static Methods Demystified
In this quiz, you'll test your understanding of instance, class, and static methods in Python. By working through this quiz, you'll revisit the differences between these methods and how to use them effectively in your Python code.
Interactive Quiz
Python Skill Test
Test your Python knowledge in a skills quiz with basic to advanced questions. Are you a Novice, Intermediate, Proficient, or Expert?
Interactive Quiz
Python's property():Add Managed Attributes to Your Classes
In this quiz, you'll test your understanding of Python's property(). With this knowledge, you'll be able to create managed attributes in your classes, perform lazy attribute evaluation, provide computed attributes, and more.
Interactive Quiz
Python's raise:Effectively Raising Exceptions in Your Code
In this quiz, you'll test your understanding of how to raise exceptions in Python using the raise statement. This knowledge will help you handle errors and exceptional situations in your code, leading to more robust programs and higher-quality code.
Interactive Quiz
Python's Requests Library
Test your understanding of the Python Requests library for making HTTP requests and interacting with web services.
Interactive Quiz
Python String Formatting:Available Tools and Their Features
You can take this quiz to test your understanding of the available tools for string formatting in Python, as well as their strengths and weaknesses. These tools include f-strings, the .format() method, and the modulo operator.
Interactive Quiz
Python Strings and Character Data
This quiz will test your understanding of Python's string data type and your knowledge about manipulating textual data with string objects. You'll cover the basics of creating strings using literals and the str() function, applying string methods, using operators and built-in functions, and more!
Interactive Quiz
Python String Splitting
Practice Python string splitting, from whitespace handling to using custom separators and regex. Review split(), rsplit(), and edge cases.
Interactive Quiz
Python's unittest:Writing Unit Tests for Your Code
In this quiz, you'll test your understanding of Python testing with the unittest framework from the standard library. With this knowledge, you'll be able to create basic tests, execute them, and find bugs before your users do.
Interactive Quiz
Python Textual:Build Beautiful UIs in the Terminal
In this quiz, you'll test your understanding of the Python Textual library. This library is used to create rich terminal applications and widgets. By working through this quiz, you'll reinforce your knowledge of Textual's key concepts and features.
Interactive Quiz
Python Threading
This is a quiz that will review topics covered in our An Intro To Threading tutorial.
Interactive Quiz
Python Thread Safety:Using a Lock and Other Techniques
In this quiz, you'll test your understanding of Python thread safety. You'll revisit the concepts of race conditions, locks, and other synchronization primitives in the threading module. By working through this quiz, you'll reinforce your knowledge about how to make your Python code thread-safe.
Interactive Quiz
Python time.sleep()
In this quiz, you'll revisit how to add time delays to your Python programs.
Interactive Quiz
Python Type Checking
In this quiz, you'll test your understanding of Python type checking. You'll revisit concepts such as type annotations, type hints, adding static types to code, running a static type checker, and enforcing types at runtime. This knowledge will help you develop your code more efficiently.
Interactive Quiz
Python Virtual Environments:A Primer
In this quiz, you'll test your understanding of Python virtual environments. With this knowledge, you'll be able to avoid dependency conflicts and help other developers reproduce your development environment.
Interactive Quiz
Python while Loops:Repeating Tasks Conditionally
In this quiz, you'll test your understanding of Python's while loop. This loop allows you to execute a block of code repeatedly as long as a given condition remains true. Understanding how to use while loops effectively is a crucial skill for any Python developer.
Interactive Quiz
Quantum Computing Basics With Qiskit
Test your understanding of quantum computing basics, including superposition, qubits, entanglement, and key programming concepts.
Interactive Quiz
Reading and Writing WAV Files in Python
In this quiz, you can test your knowledge of handling WAV audio files in Python with the wave module. By applying what you've learned, you'll demonstrate your ability to synthesize sounds, analyze and visualize waveforms, create dynamic spectrograms, and enhance audio with special effects.
Interactive Quiz
Recursion in Python:An Introduction
Test your understanding of recursion in Python, including base cases, recursive structure, performance considerations, and common use cases.
Interactive Quiz
Ruff:A Modern Python Linter
In this quiz, you'll test your understanding of Ruff, a modern linter for Python. By working through this quiz, you'll revisit why you'd want to use Ruff to check your Python code and how it automatically fixes errors, formats your code, and provides optional configurations to enhance your linting.
Interactive Quiz
Shallow vs Deep Copying of Python Objects
In this quiz, you'll test your understanding of Python's copy module, which provides tools for creating shallow and deep copies of objects. This knowledge is crucial for managing complex, mutable data structures safely and effectively.
Interactive Quiz
Single and Double Underscores in Python Names
In this quiz, you'll test your understanding of the use of single and double underscores in Python names. This knowledge will help you differentiate between public and non-public names, avoid name clashes, and write code that looks Pythonic and consistent.
Interactive Quiz
Socket Programming in Python
In this quiz, you'll test your understanding of Python sockets. With this knowledge, you'll be able to create your own client-server applications, handle multiple connections simultaneously, and send messages and data between endpoints.
Interactive Quiz
Speed Up Python With Concurrency
Test your Python concurrency knowledge:CPU vs I/O-bound tasks, GIL, asyncio, race conditions, and multiprocessing.
Interactive Quiz
String Interpolation in Python:Exploring Available Tools
Take this quiz to test your understanding of the available tools for string interpolation in Python, as well as their strengths and weaknesses. These tools include f-strings, the .format() method, and the modulo operator.
Interactive Quiz
Strip Characters From a Python String
Test your Python skills on removing characters from strings using strip, lstrip, and rstrip. Practice default behavior, custom chars, and more.
Interactive Quiz
Structural Pattern Matching
In this quiz, you'll test your understanding of structural pattern matching in Python. This powerful control flow construct, introduced in Python 3.10, offers concise and readable syntax while promoting a declarative code style.
Interactive Quiz
Supercharge Your Classes With Python super()
In this quiz, you'll test your understanding of inheritance and the super() function in Python. By working through this quiz, you'll revisit the concept of inheritance, multiple inheritance, and how the super() function works in both single and multiple inheritance scenarios.
Interactive Quiz
The Python calendar Module
In this quiz, you'll test your understanding of the calendar module in Python. It'll evaluate your proficiency in manipulating, customizing, and displaying calendars directly within your terminal. By working through this quiz, you'll revisit the fundamental functions and methods provided by the calendar module.
Interactive Quiz
The Python print() Function
In this interactive quiz, you can revisit what you know about Python's print() function. You'll also get to quiz yourself about some of its lesser-known features.
Interactive Quiz
The Python print() Function
In this quiz, you'll test your understanding of Python's built-in print() function, covering how to format output, specify custom separators, and more.
Interactive Quiz
The Python return Statement
In this quiz, you can practice your understanding of how to use the Python return statement when writing functions. Additionally, you'll cover some good programming practices related to the use of return. With this knowledge, you'll be able to write readable, robust, and maintainable functions in Python.
Interactive Quiz
The Python Standard REPL:Try Out Code and Ideas Quickly
Test your understanding of the Python standard REPL. The Python REPL allows you to run Python code interactively, which is useful for testing new ideas, exploring libraries, refactoring and debugging code, and trying out examples.
Interactive Quiz
The Walrus Operator:Python's Assignment Expressions
In this quiz, you'll test your understanding of Python's walrus operator. This operator was introduced in Python 3.8, and understanding it can help you write more concise and efficient code.
Interactive Quiz
Threading in Python
Test your understanding of Python threading, including how to create threads, use locks, avoid race conditions, and build pipelines.
Interactive Quiz
Understanding the Python Mock Object Library
In this quiz, you'll test your understanding of Python's unittest.mock library. With this knowledge, you'll be able to write robust tests, create mock objects, and ensure your code is reliable and efficient.
Interactive Quiz
Using and Creating Global Variables in Your Python Functions
In this quiz, you'll test your understanding of how to use global variables in Python functions. With this knowledge, you'll be able to share data across an entire program, modify and create global variables within functions, and understand when to avoid using global variables.
Interactive Quiz
Using Data Classes in Python
Test your knowledge of Python data classes, namedtuple, immutability, auto-generated methods, inheritance, and slots.
Interactive Quiz
Using Dictionaries in Python
Revisit Python's dictionary data type in this quick quiz. How does it work, why is it useful, and how is it different from a list?
Interactive Quiz
Using Jupyter Notebooks
Test your Jupyter Notebook skills:cells, modes, shortcuts, Markdown, server tools, and exporting notebooks to HTML.
Interactive Quiz
Using Python's .__dict__ to Work With Attributes
In this quiz, you'll test your understanding of Python's .__dict__ attribute and its usage in classes, instances, and functions. Acting as a namespace, this attribute maps attribute names to their corresponding values and serves as a versatile tool for metaprogramming and debugging.
Interactive Quiz
Using .__repr__() vs .__str__() in Python
In this quiz, you'll test your understanding of Python's dunder repr and dunder str special methods. These methods allow you to control how a program displays an object, making your classes more readable and easier to debug and maintain.
Interactive Quiz
Web Automation With Python and Selenium
In this quiz, you'll test your understanding of using Selenium with Python for web automation. You'll revisit concepts like launching browsers, interacting with web elements, handling dynamic content, and implementing the Page Object Model (POM) design pattern.
Interactive Quiz
Web Scraping With Scrapy and MongoDB
In this quiz, you'll test your understanding of web scraping with Scrapy and MongoDB. You'll revisit how to set up a Scrapy project, build a functional web scraper, extract data from websites, store scraped data in MongoDB, and test and debug your Scrapy web scraper.
Interactive Quiz
Welcome to Real Python!
Get a tour of Real Python, find resources for your skill level, and learn how to use the community to study effectively.
Interactive Quiz
What Are CRUD Operations?
In this quiz, you'll revisit the key concepts and techniques related to CRUD operations. These operations are fundamental to any system that interacts with a database, and understanding them is crucial for effective data management.
Interactive Quiz
What Are Mixin Classes in Python?
Test your knowledge of Python mixins—specialized classes that let you reuse methods without traditional inheritance.
Interactive Quiz
What Can I Do With Python?
Test your knowledge of what Python can and can't do, from web and GUI apps to data science, CLI tools, and embedded systems.
Interactive Quiz
What Can You Do With Python?
Review where Python shines:web, APIs, CLIs, GUIs, data science, ORMs, automation, and robots. Practice key terms, tools, and workflows.
Interactive Quiz
What Exactly Is the Zen of Python?
Learn and test the Zen of Python, its guiding aphorisms, and tips for writing clearer, more readable, and maintainable code.
Interactive Quiz
What Is Python's __init__.py For?
Test your understanding of Python's __init__.py files to master how they shape your packages, enhance project structure, and keep your code clean.
Interactive Quiz
What Is the __pycache__ Folder in Python?
In this quiz, you'll have the opportunity to test your knowledge of the __pycache__ folder, including when, where, and why Python creates these folders.
Interactive Quiz
What's Lazy Evaluation in Python?
In this quiz, you'll test your understanding of the differences between lazy and eager evaluation in Python. By working through this quiz, you'll revisit how Python optimizes memory use and computational overhead by deciding when to compute values.
Interactive Quiz
When to Use a List Comprehension in Python
In this quiz, you'll test your understanding of Python list comprehensions. You'll revisit how to rewrite loops as list comprehensions, how to choose between comprehensions and loops, and how to use conditional logic in your comprehensions.
Interactive Quiz
Working With Files in Python
Practice handling files and directories in Python, including opening, iterating, filtering, creating, deleting, copying, and renaming.
Interactive Quiz
Working With JSON Data in Python
In this quiz, you'll test your understanding of working with JSON in Python. By working through this quiz, you'll revisit key concepts related to JSON data manipulation and handling in Python.
Got feedback on our quizzes?
Python
- Treten Sie der exklusiven Real Python Slack-Community für Python-Entwickler bei
- Überprüfen Sie die Python-Version im Code:Erfordert ein Minimum
- Bedingte Anweisungen in Python:IF…Else, ELIF &Switch Case
- Python-RegEx
- Python-Strings:Ersetzen, Verbinden, Teilen, Umkehren, Groß- und Kleinbuchstaben
- Python-Generatoren
- Python DateTime, TimeDelta, Strftime(Format) mit Beispielen
- Python range() Funktion:Float, List, For-Schleife Beispiele
- Python-Durchschnitt:So finden Sie den DURCHSCHNITT einer Liste in Python
- Python Dictionary(Dict):Update, Cmp, Len, Sort, Copy, Items, str Beispiel