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. πŸ€–

πŸ’° 12 Ways to Make Money with AI (Article)

⭐ Join our free email newsletter (130k subs).

Be on the right side of change with AI and master the art of vibe coding! 🌴

New Finxter Tutorials:

  • KDP Paperback Royalty Calculator: One Cent Pays 3.6Γ— More, and Every 100 Pages Costs $1.20
  • Best AI for Editing a Novel: Hand AI the $1,740 Pass, Keep the $960 Human Proofread
  • KDP Passive Income Isn’t Passive: $10K-a-Month Authors Spend $4,500 a Month on Marketing
  • How Long Does It Take the Stock Market to Recover From a Crash? Median 2.1 Years (Python)
  • Kindle Countdown vs Free Book Promotion: A Free Reader Is Worth 83% Less, and Free Still Wins 4.6Γ— on a Series
  • KDP Audiobook Royalty: 40% With Virtual Voice, and the 1,722-Sale Math vs a Paid Narrator
  • KDP Box Set: One $12.99 Sale Now Out-Earns the Average Reader’s 5-Book Run
  • Sharpe Ratio vs Sortino Ratio: A Sharpe Tie Became 2.08 vs 1.65 (Python)
  • How to Write a Romance Book Series When Book 1 Earns Only 32% of the Money
  • KDP Keywords Examples: 7 Filled Boxes for a Romantasy Series (Plus the $4.41 Reader Math)

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 ⭐
© 2026 Be on the Right Side of Change • Built with GeneratePress