~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to src/console/python-console

  • Committer: drtomc
  • Date: 2007-12-19 20:48:44 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:87
First hack at the python console.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
urls = (
47
47
    '/',            'index',
48
48
    '/(.*\.js)',    'jscript',
49
 
    '/(.*\.css)',   'style',
50
49
    '/chat',        'chat')
51
50
 
52
51
# The global 'magic' is the secret that the client and server share
73
72
    def GET(self, name):
74
73
        web.output(file(name, "r").read())
75
74
 
76
 
class style:
77
 
    def GET(self, name):
78
 
        web.output(file(name, "r").read())
79
 
 
80
75
class chat:
81
76
    def POST(self):
82
77
        inp = web.input()