Skip to content
Be on the Right Side of Change
  • πŸ”΄ YouTube
  • πŸ‘‘ Membership
  • πŸ‘©β€πŸŽ“ Academy
  • πŸ“– Books
  • 🎲 Puzzles
  • 🀎 User Stories
    • What Our Users Say
    • About Finxter
    • Finxter Feedback from ~1000 Python Developers
    • Video Reviews
    • Course Review from Cristian
    • Course Review from Adam
    • Review by ChatGPT
    • About Chris
  • Start Here ⭐

Ugo Aganoke

How To List ONLY Directories in Python

December 24, 2022December 1, 2022 by Ugo Aganoke

To list directories in Python, import the os module and call the os.listdir() function on a specific directory. πŸ’‘ Info: The os module provides a way to interact with the operating system. It is part of the standard library within Python 3. You can use the os.path() module to check if each item in the … Read more

Categories Input/Output, Operating System, Python, Scripting

Be on the Right Side of Change πŸš€

  • The world is changing exponentially. AI eliminates entire industries. πŸ€–
  • Finxter is here to help you stay ahead of the curve, so you can keep winning. Start here:
  • πŸ’° 12 Ways to Make Money with AI (Article)

Learning Resources πŸ§‘β€πŸ’»

⭐ Boost your skills. Join our free email newsletter (160k subs) with daily emails and 1000+ tutorials on AI, data science, Python, freelancing, and business!

Join the Finxter Academy and unlock access to premium courses πŸ‘‘ to certify your skills in exponential technologies and prompt engineering.

New Finxter Tutorials:

  • Best Free Books for Distributed Systems PhD Students (Must Read!)
  • How to ship an AI-powered project in 1 hour per day πŸš€
  • 42 Best Free Books About Self-Improvement
  • 42 Free Business Books for First-Time Entrepreneurs
  • 42 Free University Books (PDF/HTML)
  • GPU Hosting Profit Calculator β€” Earn from Your Mini Data Center (Vast.ai & Marketplaces)
  • 42 Free AI Books (PDF/HTML)
  • FREE INTEREST RATE CALCULATOR | Debt Dragon Slayer: Calculate Loan Rate from Payment & Term Instantly!
  • Buy, Borrow, Die Strategy – The Ultimate Calculator
  • Top 5 Most Viewed Sora 2 Videos That Broke the Internet (October 2025)

Finxter Categories:

  • About
  • Impressum
  • Privacy
  • Terms
  • Puzzles
  • Academy
  • Books & Courses
  • Earnings Disclaimer
  • Finxter Instagram
  • Finxter Twitter
  • Finxter Facebook
  • Finxter YouTube
  • πŸ”΄ YouTube
  • πŸ‘‘ Membership
  • πŸ‘©β€πŸŽ“ Academy
  • πŸ“– Books
  • 🎲 Puzzles
  • 🀎 User Stories
    • What Our Users Say
    • About Finxter
    • Finxter Feedback from ~1000 Python Developers
    • Video Reviews
    • Course Review from Cristian
    • Course Review from Adam
    • Review by ChatGPT
    • About Chris
  • Start Here ⭐
© 2025 Be on the Right Side of Change • Built with GeneratePress