Using Python to List the files in a Directory

Опубликовано: 13 Июнь 2024
на канале: Real Python
983
47

This is a preview of the video course, "Listing All Files in a Directory With Python." Getting a list of all the files and folders in a directory is a natural first step for many file-related operations in Python. When looking into it, though, you may be surprised to find various ways to go about it.

This is a portion of the complete course, which you can find here:
https://realpython.com/courses/effici...

The rest of the course covers:
Using .glob and .rglob()
Listing files using recursive techniques
Conditionally listing the files


Смотрите видео Using Python to List the files in a Directory онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Real Python 13 Июнь 2024. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 983 раз и оно понравилось 47 посетителям.