Count Number Of Files In A Directory - Tkinter Projects 13
Автор: Tkinter․com
Загружено: 2022-11-30
Просмотров: 2393
Описание:
In this video I'll show you how to find the number of files in any directory using Tkinter and Python.
We'll use the os libary that comes with Python, specifically os.walk()
This will return the files and directories in any given directory. We'll loop thru and count the files, then output that to a Tkinter Label!
#tkinter #codemy #JohnElder
Timecodes
0:00 - Introduction
1:31 - Create GUI
2:35 - Import FileDialog and OS
3:10 - FileDialog.askdirectory()
4:01 - Create Counters
4:31 - Loop And Count Files
5:50 - Update Label
6:18 - Test It Out
7:53 - Loop and Count Directories
9:16 - Conclusion
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: