Message from discussion
How use web.http.profiler
Received: by 10.66.81.202 with SMTP id c10mr2865465pay.40.1347283836631;
Mon, 10 Sep 2012 06:30:36 -0700 (PDT)
X-BeenThere: webpy@googlegroups.com
Received: by 10.68.141.133 with SMTP id ro5ls4287127pbb.1.gmail; Mon, 10 Sep
2012 06:30:34 -0700 (PDT)
Received: by 10.68.136.7 with SMTP id pw7mr385145pbb.1.1347283834820;
Mon, 10 Sep 2012 06:30:34 -0700 (PDT)
Date: Mon, 10 Sep 2012 06:30:34 -0700 (PDT)
From: Tomas Schertel <tscher...@gmail.com>
To: webpy@googlegroups.com
Message-Id: <cde92ebd-fe58-4aea-a5f6-4022fa9d3032@googlegroups.com>
Subject: How use web.http.profiler
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_85_18634519.1347283834265"
------=_Part_85_18634519.1347283834265
Content-Type: multipart/alternative;
boundary="----=_Part_86_26858677.1347283834265"
------=_Part_86_26858677.1347283834265
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
I have this on my application:
if __name__ == "__main__":
my_app = web.application(urls, globals(), autoreload=True)
web.http.profiler(my_app)
my_app.run()
But nothing has changed in "python my_app.py" output.
Am I doing it right?
------=_Part_86_26858677.1347283834265
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
I have this on my application:<br><br>if __name__ == "__main__":<br> my_app = web.application(urls, globals(), autoreload=True)<br> web.http.profiler(my_app)<br> my_app.run()<br><br>But nothing has changed in "python my_app.py" output.<br>Am I doing it right?<br>
------=_Part_86_26858677.1347283834265--
------=_Part_85_18634519.1347283834265--