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インストラクター
どのレッスンでも質問すれば、いつでもすぐに分かりやすい答えが返ってきます。 -
🕐
いつでも開始
スケジュールも締め切りもなし。自分のペースで、好きなときに学べます。 -
🌐
日本語で
レッスン、課題、修了証まで、すべてあなたの言語で。
このコースについて
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.
得られるもの
-
📜
修了証
LinkedInプロフィールに追加 -
💬
パーソナルAIチューター
レッスンで詰まった?組み込みチューターにいつでも何でも聞いてみよう。 -
🎧
音声版付き
画面なしでもどこでも学べる -
♾️
無期限アクセス
いつでも再開可能、有効期限なし -
📱
スマホでもPCでも
どこでもどんな端末でも -
💸
14日返金保証
理由を聞きません -
⚡
短く要点だけ
2時間48分の実践的な内容
レビュー
まだレビューはありません — 最初の体験を共有しましょう。
よくある質問
このコースを受けるには何が必要ですか? +
インターネットに接続したスマホかパソコンだけ。インストールも特別な機材も不要です。
支払い方法は? +
Stripe経由のカードで。カード情報は当社では保存せず、Stripeが安全に取り扱います。
返金できますか? +
はい — 14日以内なら理由を問わず全額返金。
いつまでアクセスできますか? +
ずっと。購入後はあなたのもの。いつでも見返せます。
修了証はもらえますか? +
はい。修了するとLinkedInプロフィールに追加できる修了証を受け取れます。
こんな分野の方に
テック
デザイン
金融
マーケティング
医療
教育
ホスピタリティ
製造業
×2
一度のチャージで半額
$100 を追加 → 200 クレジット獲得、コースあたりの価格は約 $12.50 になります。クレジットの有効期限はありません。
$100
200 クレジット
$12.50 /コース
最もお得
$250
550 クレジット
$11.36 /コース
$500
1200 クレジット
$10.42 /コース
クレジットはどのコースにも使え、無期限です。