Import python package from local directory into interpreter
<p>I'm developing/testing a package in my local directory. I want to import it in the interpreter (v2.5), but sys.path does not include the current directory. Right now I type in <code>sys.path.insert(0,'.')</code>. Is there a better way? </p>

<p>Also, </p>

<pre><code>from . import mypackage
</code></pre>

<p>fails with this error:</p>

<pre><code>ValueError: Attempted relative import in non-package
</code></pre>
