I’m doing a coding project and wanted to ask something that would make my life so much easier.
Is there a syntax I can use to tell python to find the full file path if I know the latter half of it? For example if the full address is C:\a\b\c\d\e\f\g.file
, but I know that I’m looking for \d\e\f\g.file
, is there something I can do to find at least 1 path on my computer that would have that latter part of a file path. Sorry if this is badly worded, first time asking a question on here.
Thanks in advance!