Thanks Jason for the pointer. Need to get my head cleaned ... so reading some more on the way Python scripts / application are written. Specially :
class def func() _ _init_ _ _ _name_ _ = '_ _main_ _': _ _call_ _ return how they get combined and then add them into my code for testing.will take 2 more days and shall update / request for support on list. Reg Nitin On Sun, Oct 24, 2010 at 8:38 PM, Jason Garber <[email protected]> wrote: > Hello, > > Please explain how the do method will be called? > > There must be a callable in the wsgi file named "application"... As it > stands, you have an instance of a "handler" class that cannot be called. > > Consider refactoring as a simle function called "application" just to role > out those issues... Theb, once working, expand it. > > By the way, wsgi itself is a bit raw, so unless your main goal is to develop > another framework, I strongly suggest you use a framework. > > Both bottle and appstruct are very lightweight. I can help you off list > with the latter... > > -jg > -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
