app/shell/README
changeset 2335 366e64ecba91
equal deleted inserted replaced
2334:6f5f6a9965c6 2335:366e64ecba91
       
     1 An interactive, stateful AJAX shell that runs Python code on the server.
       
     2 
       
     3 Part of http://code.google.com/p/google-app-engine-samples/.
       
     4 
       
     5 May be run as a standalone app or in an existing app as an admin-only handler.
       
     6 Can be used for system administration tasks, as an interactive way to try out
       
     7 APIs, or as a debugging aid during development.
       
     8 
       
     9 The logging, os, sys, db, and users modules are imported automatically.
       
    10 
       
    11 Interpreter state is stored in the datastore so that variables, function
       
    12 definitions, and other values in the global and local namespaces can be used
       
    13 across commands.
       
    14 
       
    15 To use the shell in your app, copy shell.py, static/*, and templates/* into
       
    16 your app's source directory. Then, copy the URL handlers from app.yaml into
       
    17 your app.yaml.