Counting pages of PDF documents on Mac O

Category: Python - Miscellaneous

Given that PDF is a "native" data format on Mac OS X, it is very easy to get access to some properties of such documents. One is the number of pages. Using Python the necessary code to do this is only about four lines, plus some import and command-line plumbing, etc.This is proand-line shortest possible code for programmatically counting pages of PDF files on the Mac OS X platform. Apart from that, this is also a nice demo for using PyObjC which gives you the power of reusing all of the Foundation and AppKit classes from Python. Date: 02 March, 2012


Pages Counter - PDF Pages - Pdf Tool - Pdf - Pages - Tool

Homepage: http://code.activestate.com/

Developer: code.activestate.com

License: Freeware

Operating System: All

Add a Comment

all are required fields

     
What do you think of this resource?

Select Your Rate:

Votes:0

 

Related Scripts Download

Given that PDF is a "native" data format on Mac OS X, it is very easy to get access to some properties of such documents.

developer Developer: code.activestate.com
license License: Artistic License, GNU General Public License (GPL)
operating systems Operating System: Windows, Mac OS


Count PDF pages script is a simple way to count the pages of a PDF the pure Python way.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All


iText# (iTextSharp) is a port of the iText open source java library written entirely in C# for the.

developer Developer: SourceForge.net
license License: Freeware
operating systems Operating System: All


Php Pdf Factory is a PDFLib that allows you to freely create PDF using PHP.

developer Developer: SourceForge.net
license License: Freeware
operating systems Operating System: All


This script is a free editor for manipulating PDF documents containing a GUI version and commandline interface.

developer Developer: SourceForge.net
license License: Freeware
operating systems Operating System: All


ASPDF is a port of the PHP FPDF library to run in ASP Classic (3.

developer Developer: SourceForge.net
license License: Artistic License, GNU General Public License (GPL)
operating systems Operating System: Windows


PC4P is a library of php-classes to speed up the creation of reports and letters with support for such things as tables, images, background-images, wordwrap, pagebreak, all kinds of text manipulations and editing different pdf-pages simultaneously.

developer Developer: SourceForge.net
license License: Artistic License, GNU General Public License (GPL)
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris


PhpZip is a PHP application which manage compressed archives.

developer Developer: SourceForge.net
license License: Freeware
operating systems Operating System: All


This is a web-based filemanager written in PHP.

developer Developer: SourceForge.net
license License: Freeware
operating systems Operating System: All