Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Python
Errors with PyPdf
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="MRAB, post: 4135501"] The 'sets' module pre-dates the built-in 'set' class. The warning is just to inform you that the module will be removed in due course (it's still in Python 2.7, but not Python 3), so you can still use it in those versions. You put the file in C:\, but you didn't tell Python where it is. You gave just the filename "Components-of-Dot-NET.pdf", and it's looking in the current directory, which probably isn't C:\. Try providing the full pathname: print getPDFContent(r"C:\Components-of-Dot-NET.pdf").encode("ascii", "ignore") [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Python
Errors with PyPdf
Top