I\'m trying to get a list of all log files (.log) in directory, including all subdirectories.
If You want to list in current directory, You can use something like:
import os for e in os.walk(os.getcwd()): print e
Just change the
os.getcwd()
to other path to get results there.