Hello Jabba,
Did you ever find a solution to the problem? If so, can you please post it?
Thanks,
Jonathan
--
View this message in context:
http://python.6.n6.nabble.com/calling-a-simple-PyQt-application-more-than-once-tp4335946p4975385.html
Sent from the Python - python-list mailing list
Jabba Laci wrote:
> 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.
No head, no problem.
> 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,
Jabba Laci wrote:
> Hi,
>
> I have a simple PyQt application that creates a webkit instance to
> scrape AJAX web pages. It works well but I can't call it twice. I
> think the application is not closed correctly, that's why the 2nd call
> fails. Here is the code below. I also put it on pastebin:
> h
Hi,
I have a simple PyQt application that creates a webkit instance to
scrape AJAX web pages. It works well but I can't call it twice. I
think the application is not closed correctly, that's why the 2nd call
fails. Here is the code below. I also put it on pastebin:
http://pastebin.com/gkgSSJHY .