Ok, I found a solution to this:

>From : http://webpy.infogami.com/tutorial2.en

if __name__ == "__main__": web.run(urls, globals(),web.reloader)

"This tells web.py to use the web.reloader "middleware" (middleware is
a wrapper function to add some functionality to your web server) which
reloads your files whenever you edit them, so that you can see the
changes in your web browser right away. (For some serious changes,
though, you'll still have to restart the server.) You'll probably want
to take this out when you make your site public, but it's great while
developing. There's also web.profiler, which outputs information about
how much time each function took at the end of each web page, so that
you can make your code faster."

i agree, it's great while developing !

:-)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to