On 8 янв, 16:27, Phil Thompson wrote:
> On Thu, 7 Jan 2010 15:07:10 -0800 (PST), h0uk
> wrote:
>
> ...
>
>
>
> > Phil you right about app.exec_(). But situation is sligthly different.
>
> > I want to have more than one Job. I add these Jobs into QThreadPo
On 8 янв, 11:44, Water Lin wrote:
> h0uk writes:
> > On 8 янв, 08:44, Water Lin wrote:
> >> I am a new guy to use Python, but I want to parse a html page now. I
> >> tried to use HTMLParse. Here is my sample code:
> >> --
> >>
On 8 янв, 08:44, Water Lin wrote:
> I am a new guy to use Python, but I want to parse a html page now. I
> tried to use HTMLParse. Here is my sample code:
> --
> from HTMLParser import HTMLParser
> from urllib2 import urlopen
>
> class MyParser(HTMLParser):
> title = ""
>
On 8 янв, 08:44, Water Lin wrote:
> I am a new guy to use Python, but I want to parse a html page now. I
> tried to use HTMLParse. Here is my sample code:
> --
> from HTMLParser import HTMLParser
> from urllib2 import urlopen
>
> class MyParser(HTMLParser):
> title = ""
>
On 8 янв, 03:02, Phil Thompson wrote:
> On Thu, 7 Jan 2010 13:03:24 -0800 (PST), h0uk
> wrote:
>
> > On 8 янв, 01:02, "Diez B. Roggisch" wrote:
> >> h0uk schrieb:
>
> >> > Hello.
>
> >&g
On 8 янв, 02:25, "Diez B. Roggisch" wrote:
> h0uk schrieb:
>
>
>
> > On 8 янв, 01:02, "Diez B. Roggisch" wrote:
> >> h0uk schrieb:
>
> >>> Hello.
> >>> I have the following code:
> >>> #workers = {
On 8 янв, 01:02, "Diez B. Roggisch" wrote:
> h0uk schrieb:
>
>
>
> > Hello.
>
> > I have the following code:
>
> > #workers = {}
> > QtCore.QThreadPool.globalInstance().setExpiryTimeout
> > (30)
> >
Hello.
I have the following code:
#workers = {}
QtCore.QThreadPool.globalInstance().setExpiryTimeout
(30)
QtCore.QThreadPool.globalInstance().setMaxThreadCount(1)
for i in range(1, int(userscnt) + 1):
work = wk.Worker(i)