title: How to find out the starting point of code execution in any Python project?
body: <p>I have been looking at various open source GitHub Python projects like, 
  <a href="https://github.com/eliangcs/http-prompt" rel="nofollow"><code>http-prompt</code></a> and <a href="https://github.com/Theano/Theano" rel="nofollow">Theano</a></p>
  
  <p>What I am not able to figure out is where their starting points are, so that I can debug them gracefully. Do I need to look in each and every file for the <code>__main__</code> method? </p>
  
  <p>I am from Android background; so I was searching something related like <code>AndroidManifest.xml</code> from where I can get an idea as where the code is getting started, but I was unsuccessful in my attempts.</p>