Python: Finding Files and Directories with Glob — LearnFlat
⏱ 2 Std. 48 Min. 📚 28 Lektionen 🎧 Audioversion

Python: Finding Files and Directories with Glob

Learn how to use pattern matching to efficiently locate files and directories within your operating system using standard Python libraries like glob and pathlib.

  • 💬 KI-Tutor
    Stelle Fragen zu jeder Lektion und erhalte jederzeit sofort eine klare Antwort.
  • 🕐 Jederzeit starten
    Keine Zeitpläne oder Fristen – lerne in deinem Tempo, wann es dir passt.
  • 🌐 Auf Deutsch
    Lektionen, Aufgaben und Zertifikat – alles vollständig in deiner Sprache.

Über diesen Kurs

Many programming tasks require interacting with the file system, often needing to find files based on specific names, patterns, or extensions. Performing these searches manually is tedious and error-prone. This course provides the foundational knowledge to perform robust file searching and management in Python. You will move beyond manual directory traversal and learn how to use efficient pattern matching to automate file discovery for any project, ensuring your scripts can reliably process the correct files every time. What you'll learn: * Understand the core concepts of file systems, paths, and relative versus absolute addressing. * Master the syntax of glob patterns, including wildcards and character sets, for flexible file matching. * Apply the standard `glob` module to search for files and directories across different depths of the file system. * Practice using the modern `pathlib` module for robust, object-oriented path manipulation and seamless integration with globbing. * Configure basic file filtering techniques based on extensions, name components, and directory structure. The course begins by defining essential file system terminology and path structures. It then introduces the `glob` syntax through practical examples, showing how to implement powerful searching logic, and concludes with best practices for handling paths using `pathlib` for streamlined code. This course is designed for beginner Python programmers who need to interact with the file system but have no prior experience with file searching or pattern matching. No prerequisites are required beyond basic Python syntax knowledge. Start reading today and automate your file management workflow.

Was du erhältst

  • 📜 Abschlusszertifikat
    Füge es deinem LinkedIn-Profil hinzu
  • 💬 Persönlicher AI-Tutor
    Bei einer Lektion nicht weitergekommen? Frag deinen integrierten Tutor jederzeit alles, was du möchtest.
  • 🎧 Audioversion enthalten
    Lerne unterwegs — kein Bildschirm nötig
  • ♾️ Lebenslanger Zugang
    Komme jederzeit zurück, kein Ablauf
  • 📱 Smartphone oder Computer
    Auf jedem Gerät, überall
  • 💸 14 Tage Rückgaberecht
    Ohne Wenn und Aber
  • ⚡ Kurz und fokussiert
    2 Std. 48 Min. praktische Inhalte

Bewertungen

Noch keine Bewertungen — sei der Erste, der seine Erfahrungen teilt.

Bewertung schreiben

☆☆☆☆☆
Du wirst nach dem Senden zur Anmeldung aufgefordert — dein Entwurf bleibt gespeichert.

Häufige Fragen

Was brauche ich, um diesen Kurs zu belegen? +

Nur Telefon oder Computer mit Internet. Keine Installation, keine spezielle Hardware.

Wie kann ich bezahlen? +

Per Karte über Stripe. Wir speichern keine Kartendaten — Stripe übernimmt das sicher.

Kann ich eine Rückerstattung erhalten? +

Ja — volle Rückerstattung innerhalb von 14 Tagen, ohne Wenn und Aber.

Wie lange habe ich Zugang? +

Für immer. Nach dem Kauf kannst du jederzeit zum Kurs zurückkehren.

Erhalte ich ein Zertifikat? +

Ja. Nach Abschluss erhältst du ein Zertifikat, das du in dein LinkedIn-Profil aufnehmen kannst.

Entwickelt für Lernende in
Tech Design Finanzen Marketing Gesundheit Bildung Gastgewerbe Produktion