I've done something close in the past where I have a GAE app that pulls
Python script from another location and executes it. Not sure if that helps
you, but here it is. Make sure the script is safe, though, because it'll be
running against your own datastore.
try:
path = ROOT_URL + 'script.py'
result = urllib2.urlopen(path)
except:
logging.error('Error pulling: ' + path)
sys.exit(0)
try:
code = result.read()
exec(code.replace('\r\n', '\n'))
except:
logging.error('Error in script')
sys.exit(0)
On Sun, Sep 11, 2011 at 12:46 AM, Emlyn <[email protected]> wrote:
> My google-fu is failing. Do you have any specific links to more info
> on uploading code using remote_api?
>
> On 11 September 2011 16:58, Tim Hoffman <[email protected]> wrote:
> > HI
> > As robert says it is just python. Also its using the remote_api.
> > So all definately do-able. I run remote_api stuff inside zope to
> > transparently access the datastore from within zope.
> > Rgds
> > Tim
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To view this discussion on the web visit
> > https://groups.google.com/d/msg/google-appengine/-/TKWNqEhYNuIJ.
> > 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.
> >
>
>
>
> --
> Emlyn
>
> http://my.syyn.cc - Synchonise Google+, Facebook, WordPress and Google
> Buzz posts,
> comments and all.
> http://point7.wordpress.com - My blog
> Find me on Facebook and Buzz
>
> --
> 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.
>
>
--
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.