Colin J. Williams wrote:
> I wish to sub-class (if that's the right word) datetime and to use a
> different signature for the constructor.
>
> The second part has gone smoothly, but it is difficult to access the
> type's methods from the sub-class instance.
>
What's difficult?
>>> from datetim
Sullivan WxPyQtKinter schrieb:
> IDLE is no longer satisfactory for me. Other IDEs make me very
> confused. Really do not know which one to use.
>
> I use WinXP sp2 for current development.
>
> So far as I know, Eclipse + PyDev + PyDev Extension is perfect for
> source code editing. Since I am re
[EMAIL PROTECTED] schrieb:
> Do I need to convert string to integer in python? or it will do it for
> me (since dynamic type)?
>
> In my python script, I have this line:
> x /= 10;
>
> when i run it, I get this error:
> TypeError: unsupported operand type(s) for /=: 'unicode' and 'int'
>
> I
Russ schrieb:
> I know that python packages are available for representing physical
> units, but I am getting frustrated trying to find them and determine
> which is the best.
>
> Rather than just using conventional dimensionless numbers with implicit
> units, I would like to have a way to explici
Andrew Gwozdziewycz schrieb:
>> You may take a look at http://labix.org/python-dateutil
>> Have fun
>> Michael
>>
>
> Looks like it does a good job parsing dates, but doesn't seem to do
> english dates. I found a javascript implementation of a few functions
> that will probably be relatively easy
Andrew Gwozdziewycz schrieb:
> I've been looking recently for date processing modules that can parse
> dates in forms such as
> "next week" or "6 days from next sunday". PHP has a function that will
> do this called 'strtotime',
> but I have not found a Python implementation. I've check the stan
Michael Amrhein schrieb:
> Frode Øijord schrieb:
>> Hi all,
>> given a sequence of n elements i need to generate all possible
>> permutations of length k <= n.
>>
>> I found an elegant way to do this recursively:
>>
>> def comb(items, n):
>>
Frode Øijord schrieb:
> Hi all,
> given a sequence of n elements i need to generate all possible
> permutations of length k <= n.
>
> I found an elegant way to do this recursively:
>
> def comb(items, n):
> if n==0: yield []
> else:
> for i in xrange(len(items)):
> fo
billie wrote:
> Hi all. I'm searching for a module that permits me to low-level interact
> with ethernet interfaces of my system.
> I would like to determine at least the first of the followings values:
>
> 1 - IP address assigned to the interface
> 2 - subnet mask
> 3 - default gateway
> 4 - prim
Stefano Masini schrieb:
> On 8 Sep 2005 08:24:50 -0700, Fuzzyman <[EMAIL PROTECTED]> wrote:
>
>>What is pythonutils ?
>>=
>>ConfigObj - simple config file handling
>>validate - validation and type conversion system
>>listquote - string to list conversion
>>StandOut - simple log
10 matches
Mail list logo