Can someone point me to a set of instructions of how to actually implement and utilize the find
command within a Python script?
I have looked at: https://docs.python.org/2/library/subprocess.html
I'm not exactly sure how to utilize the command, even if implementation goes well with either subprocess.call
or subprocess.Popen
. From all of the SO threads that I've read concerning this topic, it seems like these are the two best options. However, I am not sure what kind of arguments I would need to use, as well as how to specifically implement the find
command within them.
Can someone please demonstrate how to use find
in the context of subprocess.call
or subprocess.Popen
so that I can later call find
directly in my Python script?