I am new to Python and have been looking for a way to output PDF from a Python CGI call. I haven't found much on this topic and it mostly has been Perl-based and also not exactly what I am looking for. Any thoughts on how my Python CGI script can output PDF rather than HTML? I am not looking to create a PDF file within the CGI script, but rather to have the return type be "application/pdf".
Thanks for any thoughts - Peter