title: How can I check for basename (only part of the name) file existence using Python?
body: <p>I think the title explains it all. I need to check existence for a file that contains the word <code>data</code> in its name. I tried something like that <code>os.path.exists(/d/prog/*data.txt)</code> but that doesn't work.</p>