<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&#39;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> &lt;<a href="mailto:carl@personnelware.com">carl@personnelware.com</a>&gt; 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&lt;<a href="mailto:jsudlow@gmail.com">jsudlow@gmail.com</a>&gt; wrote:<br>
&gt; pyPDF<br><br>Thankyou *4<br><br>&gt;&gt;&gt; from pyPdf import PdfFileWriter, PdfFileReader<br>&gt;&gt;&gt; input1 = PdfFileReader(open(&#39;test.pdf&#39;,&#39;rb&#39;))<br>&gt;&gt;&gt; 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>