[mod_python] PSP imports

Dan W. dwmp at opti.cgi.net
Sun Nov 30 21:56:45 EST 2003


At 10:24 PM 11/30/2003 -0500, you wrote:


>On Sun, 30 Nov 2003, Dan W. wrote:
>
> > I've attempted this on a PSP page with a packaged module and am not getting
> > the module in the global namespace.
> >
> > <%
> > apache.import_module('mypackage.mymodule')
>
><%
>mymodule = apache.import_module('mypackage.mymodule')


Thanks Grisha.  I was expecting it to work like the builtin import.

-Dan



More information about the Mod_python mailing list