<div>No problem buddy, I thought pyPDF was really slick myself. Python is amazing, in three lines of code you completed your goal. </div>
<div> </div>
<div>In the future, if you ever try to extract data from the pdf into a string and then write that string to a plain text file, you might get an encoding ASCII error. Its a common error but its not well documented, let me know and I'll point you in the right direction if it comes up. </div>
<div>-Jon<br><br> </div>
<div><span class="gmail_quote">On 7/20/09, <b class="gmail_sendername">Carl Karsten</b> <<a href="mailto:carl@personnelware.com">carl@personnelware.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Wed, Jul 15, 2009 at 6:58 PM, Jon Sudlow<<a href="mailto:jsudlow@gmail.com">jsudlow@gmail.com</a>> wrote:<br>
> pyPDF<br><br>Thankyou *4<br><br>>>> from pyPdf import PdfFileWriter, PdfFileReader<br>>>> input1 = PdfFileReader(open('test.pdf','rb'))<br>>>> print input1.getNumPages()<br>
3<br><br>I needed that.<br><br>--<br>Carl K<br>_______________________________________________<br>Chicago mailing list<br><a href="mailto:Chicago@python.org">Chicago@python.org</a><br><a href="http://mail.python.org/mailman/listinfo/chicago">http://mail.python.org/mailman/listinfo/chicago</a><br>
</blockquote></div><br>