21
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 import <file> from the current working directory, not the standard library or the directory the main code is in. How can I do that?