ago wrote:
> Inspired by some recent readings on LinuxJournal and an ASPN recipe, I
> decided to revamp my old python hack... The new code is a combination
> of (2) reduction methods and brute force and it is quite faster than
> the
> ASPN program. If anyone is interested I attached the code in
> h
ago wrote:
> Inspired by some recent readings on LinuxJournal and an ASPN recipe, I
> decided to revamp my old python hack... The new code is a combination
> of (2) reduction methods and brute force and it is quite faster than
> the
> ASPN program. If anyone is interested I attached the code in
> h
What should I do to be able to compile C-extensions (with python 2.4,
winXP)? I get an error message, approximately "The .NET Framework SDK
needs to be installed"; I tried to get something from the Microsoft web
site, but maybe not the right version (or didn't set some variables),
since the err
>> Sorry, my description was not very good, I meant something behaving as:
>>
>> >>>example=Liter("abc","12345","XY")
>> >>>for x in example: print x,
>>
>> a 1 X b 2 Y c 3 4 5
>>
>> or for that append() method,
>>
>> >>>example=Liter("abc", "12345")
>> >>>for i in range(3): print example.next(),
>
Sorry, my description was not very good, I meant something behaving as:
>>>example=Liter("abc","12345","XY")
>>>for x in example: print x,
a 1 X b 2 Y c 3 4 5
or for that append() method,
>>>example=Liter("abc", "12345")
>>>for i in range(3): print example.next(),
a 1 b
>>>example.append("XY"
Given a list of iterators, I'd like to have a new one that would
cyclically walk over the list calling the next() method of the iterators
(removing any iterator which is exhausted). It should also support adding
a new iterator to the list; it should be added in front of the current
position (so
I appologize in advance for stupid question, which is:
why are user-defined attributes not allowed for builtin types?
[I guess I undestand why *instances* cannot have them (e.g. then every
dict would have a dict which would have a dict..), but this is a
different question]
I can imagine several