When you say "later on", where exactly do you mean? If you want to
access it from another handler you will probably want to datastore it.

You can write to the output buffer by doing
self.response.out.write(<whatever string>).

On Oct 25, 5:20 pm, fishfin <[EMAIL PROTECTED]> wrote:
> How would I get that data later on? 'print data' doesn't seem to work,
> 'print self.data' and 'print MainPage.data' don't seem to work either.
>
> On Oct 25, 11:16 pm, loell <[EMAIL PROTECTED]> wrote:
>
> > Typically, it should go something like this,
>
> > class MainPage(webapp.RequestHandler):
> >     def get(self):
> >         data = cgi.escape(self.request.get('data'))
>
> > fishfin wrote:
> > > I'm coming over from php and am trying to figure out how to do
> > > something.
>
> > > In php you can put data in the user's address bar (index.php?
> > > data=somedata) and then get it from the address bar really easily (you
> > > just use $_GET and $_REQUEST), so I was wondering what the equivalent
> > > is in python?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to