0

I am new. A help would be great.

I have a specific file named test.txt.

I hvae to search the file in pre-specified paths: 1. /home/user/Desktop 2./home/user/gg 3./home/user/bluh 4. /home/user/gg1.

Whenever I find the file, I will just source it. How to do it?

  • https://stackoverflow.com/questions/3964681/find-all-files-in-a-directory-with-extension-txt-in-python Just change the condition to find the file(s) you want. – Kenny Ostrom Oct 13 '22 at 16:23

0 Answers0