On Sat, Jul 22, 2000 at 04:07:08PM -0400, Barry A. Warsaw wrote: >print is incredibly convenient; I'd hate to write CGI scripts without >it. Why not make it just a little more so? Bad example; quick-and-dirty CGI scripts may get away with using print. However, if you want decent error handling, such as not outputting a partial page if you get an exception, you need to either not use print, or replace sys.stdout to trap output from 'print' and only send the output once it's all been generated. --amk
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4