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
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
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)
>
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)
>