DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python pattern glob extension searching
import glob, os os.chdir("my_dir") for file in glob.glob("*.txt"): print(file)
Source by www.programiz.com #
PREVIOUS
NEXT
Tagged:
#python
#pattern
#glob
#extension
#searching
ADD COMMENT
Topic
COMMENT
Name
7+6 =
Submit