Count Number Of Files In A Directory - Tkinter Projects 13

codemy(72)
Published in
#tkinter
Words
103
Reading
1 min
Listen
Play
4y

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!

▶️ FREE "Tkinter Widget Quick Reference Guide" Book Here:
https://bit.ly/3K4qlZC

✅ Watch The tKinter Projects Playlist
https://bit.ly/3AeVo0d

▶️ Get The Code
https://bit.ly/3dCzz2K

✅ Subscribe To My YouTube Channel:
https://bit.ly/3Pk1By4

▶️ See More At:
https://Tkinter.com

✅ Join My Facebook Group:
http://bit.ly/2GFmOBz

▶️ Learn to Code GUI's at https://Tkinter.com
Take 30% off with coupon code: youtube

Count Number Of Files In A Directory - Tkinter Projects 13 | Ecency