How do I create a custom python interpreter? i.e. with certain modules already included?
<p>If you've used Ruby on Rails, I'm thinking of the feature where the user types </p>

<blockquote>
  <p>'rails console'</p>
</blockquote>

<p>and instantly gets a Ruby console with rails and the current app already loaded.<br>
I want to make something like this for a python program I'm working on, does anyone know how I would get to type say,</p>

<blockquote>
  <p>'python myPythonConsole.py'</p>
</blockquote>

<p>and open up a regular python interpreter but with my program and all its dependencies loaded?</p>
