AI Bootcamp Day 14 – Python File Paths: getcwd, listdir, join & abspath
Автор: Darko Lab
Загружено: 2025-09-18
Просмотров: 65
Описание:
In Day 14 of the Darko Lab AI Bootcamp, we focus on working with file paths in Python using the `os` and `os.path` modules. You’ll learn how to:
• Get the current working directory with `os.getcwd()`
• Create folders with `os.mkdir()` and list directory contents via `os.listdir()`
• Build cross‑platform paths using `os.path.join()`
• Check whether a path is a file or a directory with `os.path.isfile()` / `os.path.isdir()`
• Convert relative to absolute paths using `os.path.abspath()`
These path techniques help you write robust, portable code for any operating system.
🔗 *Join the community:* / discord
💻 *Resources:* Day 14 notebook (`filepath.ipynb`) and code are posted on discord.
👍 *Like & Subscribe* to keep up with the AI Bootcamp playlist.
💬 *Questions?* Ask in the comments or hop in the Discord!
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: