Shell app for App Engine Python 2.7 runtime

I’ve added a new App Engine shell app for the Python 2.7 runtime:

shell-27.appspot.com

It complements the existing Python 2.5, HRD, and JVM language shell apps as well as other, even better third party projects like App Engine Console.

Enjoy!

This entry was posted in Uncategorized. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

2 Comments

  1. Petri
    1/12/2012 #

    Hi, is the updated source available somewhere? Also, could you update the shell app so it loads all the available libraries (ie. setuptools, lxml, etc) ?

    Thanks!

  2. 1/12/2012 #

    glad you’re interested!

    i’m working on getting the changes into the repo. in the meantime, feel free to apply them yourself. other than runtime: python27 and threadsafe: false in app.yaml, i only made one minor bug fix. here’s the patch:

    Index: app.yaml
    ===================================================================
    --- app.yaml    (revision 151)
    +++ app.yaml    (working copy)
    @@ -1,8 +1,9 @@
    -application: shell
    +application: shell-27
     version: 1
    
    -runtime: python
    +runtime: python27
     api_version: 1
    +threadsafe: false
    
     handlers:
     - url: /static
    Index: shell.py
    ===================================================================
    --- shell.py    (revision 151)
    +++ shell.py    (working copy)
    @@ -192,8 +192,8 @@
                  'login_url': users.create_login_url(session_url),
                  'logout_url': users.create_logout_url(session_url),
                  }
    -    rendered = webapp.template.render(template_file, vars, debug=_DEBUG)
    -    self.response.out.write(rendered)
    +    rendered = template.render(template_file, vars, debug=_DEBUG)
    +    self.response.out.write(unicode(rendered))
    
    
     class StatementHandler(webapp.RequestHandler):
    

Post a comment...

Post a Comment

Your email is never published nor shared.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>