import os
def findPath(s): for n in os.listdir(): if n.find(s) >= 0 : if os.path.isfile(n): print (os.path.realpath(n))
Sign in to make a reply
Pmz丶
import os
def findPath(s):
for n in os.listdir():
if n.find(s) >= 0 :
if os.path.isfile(n): print (os.path.realpath(n))