open a filename starting with in python code example
Example: open a filename starting with in python
for file in os.listdir("/Users/darren/Desktop/test"):
if file.startswith("art"):
print(file)
for file in os.listdir("/Users/darren/Desktop/test"):
if file.startswith("art"):
print(file)