Binary output on sys.stdout

Jeff Kunce kuncej at mail.conservation.state.mo.us
Tue Sep 5 11:16:56 EDT 2000


> I would like to write binary data on sys.stdout (CGI-script). Can
> anybody tell how this can be done?

On windows web servers, invoke python with the -u command line option
when you launch your script

  --Jeff





More information about the Python-list mailing list