[mod_python] Using a psp parser from outside mod_python

dharana dharana at dharana.net
Thu Jun 23 13:03:12 EDT 2005

Hello list,

If I try to:

	from mod_python.psp import PSP

from a cmdline python script I get "ImportError: No module named _apache". I'm 
dynamically generating psp templates (mixes of xhtml and <% %> tags) that need 
to be parsed into full xhtml from a non-apache env. Is there any possibility of 
using PSP this way?


More information about the Mod_python mailing list