DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python check if folder is empty
import glob if not glob.glob(f"/path/to/dir/*"): print("Dir is empty")
Source by thispointer.com #
PREVIOUS
NEXT
Tagged:
#python
#check
#folder
#empty
ADD COMMENT
Topic
COMMENT
Name
6+6 =
Submit