Errors with PyPdf

Tim Roberts timr at probo.com
Mon Sep 27 05:12:14 CEST 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