python hot to get all files in the same dir code example
Example 1: list files in directory python
import os
print(os.listdir('/path/to/folder/to/list'))
Example 2: list directory in python
from os import listdir
## Prints the current directory as a list (including file types)
print(os.listdir())