CGI -- generating images -- \x0A always added!

Kevin other at cazabon.com
Wed Sep 10 01:27:12 EDT 2003


Actually the easy answer to your question is use:

    sys.stdout.write(yourImageData)

instead of

    print yourImageData


That won't print the newline at the end.

Kevin.






More information about the Python-list mailing list