title: Python way to search for file in sys.path
body: <p>I would like to put my media and config files into a place where the Python program can find it from the working tree or from being installed. So in <a href="https://softwareengineering.stackexchange.com/q/212714/22584">that question</a>, it was suggested to put the stuff into the path. Is there some ready made function to search in the path?</p>
  
  <p>If not, I will just make my own.</p>