Some good ideas! Kent I looked at the queue module and that looks like
something I would use. will post my results.
Thanks
On Wed, Apr 23, 2008 at 9:52 AM, Hansen, Mike <[EMAIL PROTECTED]> wrote:
>
>
> > Evey time someone recommends Queue I think "oh boy this will
> > really help
> > me". Then I
> Evey time someone recommends Queue I think "oh boy this will
> really help
> me". Then I go to the Library Reference, read the Queue docs
> and think
> "oh boy who can help me understand this". Even the sample code is
> confusing.
>
> Is there some other documentation or example?
>
>
>
> Evey time someone recommends Queue I think "oh boy this will
> really help
> me". Then I go to the Library Reference, read the Queue docs
> and think
> "oh boy who can help me understand this". Even the sample code is
> confusing.
>
> Is there some other documentation or example?
>
>
>
Kent Johnson wrote:
Vaibhav.bhawsar wrote:
i have this code to print every new element in a list only when the
list length changes (while the list is updated by a thread running
elsewhere)...I was wondering if there is a pythonic way to do this?
how does one know when there is a new element in
Vaibhav.bhawsar wrote:
i have this code to print every new element in a list only when the list
length changes (while the list is updated by a thread running
elsewhere)...I was wondering if there is a pythonic way to do this? how
does one know when there is a new element in the list?
prevleng
if i only wanted the last element ofthe list, i would change the
"geoCode.getResults()' to return to me both the complete list & the new
elements in the list. it should be pretty easy from there. if what you need
is to sort the list & see whether a value have changed or not then you will
be better
i have this code to print every new element in a list only when the list
length changes (while the list is updated by a thread running elsewhere)...I
was wondering if there is a pythonic way to do this? how does one know when
there is a new element in the list?
prevlength = 0
while geoCode.run
i have this code to print every new element in a list only when the list
length changes (while the list is updated by a thread running elsewhere)...I
was wondering if there is a pythonic way to do this? how does one know when
there is a new element in the list?
prevlength = 0
while geoCode.run