Jay Dorsey wrote:
> I'm trying to use the PSP part of WebWare in another script.
> I installed version .8 and did a test via Apache to make sure
> PSP works (it does). What I'd like to do basically is use PSP
> via the command line, something like:
>>>> from mod_python import psp
>>>> n = psp.PSP()
> I snooped around in the psp.py file and there is a PSP class,
> but I'm not certain that its the class that I want. I can't
> even *see* the class when I import psp from the command line after
> doing a dir().
> I'm certain that I'm misunderstanding something, and probably
> going about this problem horribly wrong. Can PSP even be used outside
> of mod_python?
> Any assistance would be appreciated.
> Also, is there a search function for the archives on
> sourceforge? I find the web interface to be kind of clunky
> (the page doesn't fit on 800x600 in MozillaFirebird)
The PSP in Webware is _completely_ different from the PSP in mod_python.
You seem to be confusing the two.
I don't know anything about the PSP in mod_python. The PSP in Webware
wasn't designed to be used standalone; it was designed to produce Webware
servlets from PSP files..
You might consider looking into Cheetah. I believe it can handle PSP syntax
and it definitely is designed to be used standalone.