DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
get files in directory python
import os files_and_directories = os.listdir("path/to/directory")
PREVIOUS
NEXT
Tagged:
#files
#directory
#python
ADD COMMENT
Topic
COMMENT
Name
1+1 =
Submit