Answers for "open a filename starting with in python"

1

open a filename starting with in python

for file in os.listdir("/Users/darren/Desktop/test"):
    if file.startswith("art"):
        print(file)
Posted by: Guest on April-21-2021

Python Answers by Framework

Browse Popular Code Answers by Language