Am Mittwoch, 17. November 2004 10:42 schrieb Michele Simionato: > I do NOT see a line "hello from form" so I guess inside > the form sys.stdout is redirected somewhere else. How is that? Hi, if you use cgitb for tracebacks, you can debug this with: raise(str(sys.stdout)) At least on the interactive prompt you get the name of the file: >>> f=open('/etc/hosts') >>> print fHTH, Thomas