Friday, July 22, 2016

Re: Question has mediated relation to the Django.

I don't know how to do this in "raw" Python; but my view is that the Python universe is full of very smart programmers who have wrapped their knowledge into libraries for you to use - so why not make use of them, rather than reinventing the wheel yourself?

In short:

https://pythonhosted.org/PyPDF2/PdfFileReader.html#PyPDF2.PdfFileReader.getNumPage


On Thursday, 21 July 2016 16:14:00 UTC+2, Seti Volkylany wrote:
How get a total count pages in PDF file, created with using ReportLab, without third-party apps and hardcode (or violation DRY)?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/721e0ed2-ac13-4a56-9c4a-7ecffa966ba3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment