hi friends,
I am having a class called ComponentReader,in that i defined function
called Compread with arguments..(i.e)
import web
import string
import logging

log=logging.getLogger("ComponentReader")
log.setLevel(logging.DEBUG)
urls = (
            '/Page', 'ComponentReader'
)
app = web.application(urls, globals())
class ComponentReader:
    def Compread(self,comp,xml,path):
      ------
      ------
      ------
   app.add_processor(Compread)
if __name__=='__main__':app.run()

I have to call Compread function...
I user add_processor method but it's not work...
How to call Compread() by passing some parameters...
In this class there is no any other function...
thanks in advance..

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en.

Reply via email to