Graham Dumpleton
graham.dumpleton at gmail.com
Tue Jun 19 19:31:12 EDT 2007
Issue noted at: https://issues.apache.org/jira/browse/MODPYTHON-220 You should be able to use: somemodule = apache.import_module("somemodule") instead. Graham On 20/06/07, maker joe <makerjoe at gmail.com> wrote: > hi > how can i import a module from the current directory on a psp file > eg > test.psp > <% > import somemodule > %> > somemodule.py is at the same directory as test.psp > > the same works importing from a file.py > im using publisher and psp hanlers > python 2.5 modputhon 3.31 > > thanks > joseluis > _______________________________________________ > Mod_python mailing list > Mod_python at modpython.org > http://mailman.modpython.org/mailman/listinfo/mod_python >
|