I might misunderstood your question but take a look at this: http://pastebin.com/58c1Ltxr
Best Regards Philip On Feb 25, 3:41 pm, outlaw <outlaw.was.h...@gmail.com> wrote: > Greetings, > Simple newb question wrt Python. Brief Sample: > > class Congo(webapp.RequestHandler): > def get(self): > # snip > FOO = "bar" > self.response.out.write(""" > <form action="/form" method="get"> > <div><input type="submit" value="Thank you for > clicking me google groups"></div> > </form> > """) > > class Guando(webapp.RequestHandler): > def get(self): > # I want to use FOO here without using 'global' > > def main(): > run_wsgi_app(application) > > if __name__ == "__main__": > main() > > I would like to see FOO in Guando, what's a clean way of doing this? > > With thanks! -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.