Re: scripting browsers from Python

2005-05-31 Thread davidb
Michele Simionato wrote: > I would like to know what is available for scripting browsers from > Python. > For instance, webbrowser.open let me to perform GET requests, but I > would like to do POST requests too. I don't want to use urllib to > emulate a browser, I am interested in checking that br

Re: Python, Perl & PDF files

2005-04-26 Thread davidb
Robin Becker wrote: > rbt wrote: > .. > > > > I just want to read PDF files in a portable way (windows, linux, mac) > > from within Python. > > > .. > > I suppose you mean extract PDF pages and do something with them. > http://www.reportlab.com does have a tool that handles that in > Python

Re: PDF count pages

2004-12-07 Thread davidb
Andreas Lobinger wrote: > > Jose Benito Gonzalez Lopez wrote: > > Does anyone know how I could do in order > > to get/count the number of pages of a PDF file? > > Like this ? [...] > >>> import pdffile > >>> pf = pdffile.pdffile('../rfc1950.pdf') > >>> import pages > >>> pp = pages.pages(pf) >

Re: PDF count pages

2004-12-07 Thread davidb
Andreas Lobinger wrote: > > Jose Benito Gonzalez Lopez wrote: > > Does anyone know how I could do in order > > to get/count the number of pages of a PDF file? > > Like this ? [...] > >>> import pdffile > >>> pf = pdffile.pdffile('../rfc1950.pdf') > >>> import pages > >>> pp = pages.pages(pf) >