In development environment I suggest to use build-in webserver from wsgiref
module, see http://docs.python.org/2/library/wsgiref.html#examples
Then it's easy to run webserver in console and kill&start it with Ctrl+C
keystroke. In production environment, use your prefered webserver like
apache,n
No exactly bad, but can suprise
>>> foo=([],)
>>> foo[0] += ['bar']
Traceback (most recent call last):
File "", line 1, in
TypeError: 'tuple' object does not support item assignment
>>> foo
(['bar'],)
Dne úterý, 10. září 2013 8:09:25 UTC+2 Steven D'Aprano napsal(a):
> Some time ago, Tom Chri