Errors with PyPdf

Tim Roberts timr at probo.com
Sun Sep 26 23:12:14 EDT 2010


flebber <flebber.crue at gmail.com> wrote:
>
>okay thanks I thought that when I set content here
>
>def getPDFContent(path):
>    content = "C:\Components-of-Dot-NET.pdf"

You have a backslash problem here.  You need need to say:
    content = "C:\\Components-of-Dot-NET.pdf"
or
    content = "C:/Components-of-Dot-NET.pdf"
or
    content = "C:/Components-of-Dot-NET.pdf"
-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the Python-list mailing list