title: How can I import a Python library located in the current working directory?
body: <p>I'm writing an installation program that will pull a script out of an existing Python file and then use it in the main Python program. What I need to know how to do is <code>import &lt;file&gt;</code> from the current working directory, not the standard library or the directory the main code is in. How can I do that?</p>