![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.python archivere-posting: web.py, incomplete
From: _wolf <wolfgang.lipp@gmail.com>
Date: Thu Mar 02 2006 - 20:38:52 CET
hi all,
this is a re-posting of my question i asked a month or so ago. i
import web
urls = (
class hello:
if __name__ == "__main__": web.run(urls)
it does seem to work *but* when i call it with sth like
http://localhost/cgi-bin/webpyexample.py/oops?times=25
then the output is ::
Hello, oops!
it is only after i insert, at point (1) as shown in the listing, ::
print ( ( ' ' * 100 ) + '\n' ) * 10
---print ten lines with a hundred space characters each---that
print ' ' * 32
but *this* will result in a last output line that is 8 characters
i'd like to bust that ghost.
_wolf
|