Python: Finding Files and Directories with Glob โ€” LearnFlat
โฑ 2h 48m ๐Ÿ“š 28 lessons ๐ŸŽง Audio version

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.

  • ๐Ÿ’ฌ AI instructor
    Ask about any lesson and get a clear answer instantly, anytime.
  • ๐Ÿ• Start anytime
    No schedules or deadlines โ€” learn at your own pace, whenever suits you.
  • ๐ŸŒ In English
    Lessons, tasks and certificate โ€” all fully in your language.

About this course

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.

What you'll get

  • ๐Ÿ“œ Certificate of completion
    Add it to your LinkedIn profile
  • ๐Ÿ’ฌ Personal AI tutor
    Stuck on a lesson? Ask your built-in tutor anything, any time.
  • ๐ŸŽง Audio version included
    Learn on the go โ€” no screen needed
  • โ™พ๏ธ Lifetime access
    Come back anytime, no expiry
  • ๐Ÿ“ฑ Phone or computer
    Works anywhere, any device
  • ๐Ÿ’ธ 14-day refund
    No questions asked
  • โšก Short & focused
    2h 48m of practical content

Reviews

No reviews yet โ€” be the first to share your experience.

Write a review

โ˜†โ˜†โ˜†โ˜†โ˜†
You'll be asked to sign in after sending โ€” your draft is saved.

Frequently asked

What do I need to take this course? +

Just a phone or computer with internet. No installs, no special hardware.

How do I pay? +

By card via Stripe. We donโ€™t store card details โ€” Stripe handles them securely.

Can I get a refund? +

Yes โ€” full refund within 14 days, no questions asked.

How long will I have access? +

Forever. Once you purchase, the course is yours to revisit anytime.

Will I get a certificate? +

Yes. On completion you'll receive a certificate you can add to your LinkedIn profile.

Built for learners in
Tech Design Finance Marketing Healthcare Education Hospitality Manufacturing