calling a simple PyQt application more than once

Jabba Laci jabba.laci at gmail.com
Sat Jan 28 06:51:36 EST 2012


> 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



More information about the Python-list mailing list