It's not possible to check the pyPdf version at runtime
Bug #276781 reported by
Dinu Gherman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyPdf |
New
|
Undecided
|
Unassigned |
Bug Description
For various reasons (including bug reporting) it's very conveniant to be able to tell at runtime which version of a package is actually installed. For pyPdf this is unfortunately not possible yet. It would be very simple to add, though, e.g. by adding a version attribute to the __init__.py file of pyPdf. Not sure what the best practice is, but something like __version__ = "1.12" would do. Then one could write: import pyPdf; print pyPdf.__version__
To post a comment you must log in.