Dennis Lee Bieber wrote:

>On Tue, 02 Aug 2005 15:10:23 +1000, Timothy Smith
><[EMAIL PROTECTED]> declaimed the following in comp.lang.python:
>
>  
>
>>i'm very curious as to what everyone thinks
>>    
>>
>
>       I suspect most of us think: Where's the code?
>       followed by: Where's the traceback?
>
>       As for your statement of verifying the path and filename... We
>haven't seen it so can't guess... (part of the "where's the code")
>
>       Does the path contain \n, \t, \r, \f, etc. If it does, and you
>are not using a raw string, you are looking for a file with newline,
>tab, carriage return, formfeed, etc. respectively in the name.
>
>
>fid = "c:\temp\something.pdf"  #bad, this is
>#      c:<tab>emp\something.pdf
>#      assuming \s isn't some special character
>
>fid = r"c:\temp\something.pdf" #good
>fid = "c:\\temp\\something.pds" #okay
>
>  
>
it's iterally just

PDFname = 'tmp.pdf'
os.startfile(PDFname)

thats the code.

so obviously it contains no errnous characters. see my update btw. it 
actually DOES open the report, but throws up the exception as well.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to