6 sys.path.append('/opt/google-appengine/lib/yaml/lib')
7 sys.path.append('/opt/google-appengine/lib/fancy_urllib')
9 from google.appengine.ext.remote_api import remote_api_stub
10 from google.appengine.ext import db
11 from google.appengine.api import xmpp
14 return raw_input('Username: '), getpass.getpass('Password: ')
17 print "Usage: %s app_id [host]" % (sys.argv[0],)
23 host = '%s.appspot.com' % app_id
25 remote_api_stub.ConfigureRemoteDatastore(app_id, '/remote_api', auth_func, host, secure=True)
27 code.interact('App Engine interactive console for %s' % (app_id,), None, locals())