Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #19544

Re: calling a simple PyQt application more than once

References <CAOuJsMmyDArFXXCbNFPCiXPytPBOg8X5DHXRHxot8dmrwrwUjg@mail.gmail.com> <4F233660.3040908@optimum.net>
From Jabba Laci <jabba.laci@gmail.com>
Date 2012-01-28 12:51 +0100
Subject Re: calling a simple PyQt application more than once
Newsgroups comp.lang.python
Message-ID <mailman.5172.1327751519.27778.python-list@python.org> (permalink)

Show all headers | View raw


> You can click the "Press me" button as many times as you wish; it
> retrieves and displays/prints the same HTML file on each click.

Hi,

Thanks for your reply. I forgot to mention that my first solution
created a headless browser, i.e. it didn't create any GUI. I would
like to keep it that way, thus I could scrape (AJAX-powered) webpages
in batch mode without any user interaction.

One workaround is to put the scraper in a separate file and call it as
an external command. But I'd like a more elegant solution that that.

Laszlo

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: calling a simple PyQt application more than once Jabba Laci <jabba.laci@gmail.com> - 2012-01-28 12:51 +0100

csiph-web