quote:
>
> I didn't notice this level of angst when Python made equally significant
> changes going from 1.5 to 2.0... admittedly Python 1.5 code would work
> unchanged in 2.0, but the 2.x series introduced MUCH bigger additions to
> Python than anything 3.0 and 3.1 have added, and anyone taking a
> Why is it bad ?
>
Not working code, examples, that are weird to read, and a lot of text :)
--
http://mail.python.org/mailman/listinfo/python-list
I totally second Alf in this regard.
There were times you could report a bug by mail (to Debian e.g.) and it
worked perfectly (for me, the reporter).
Once I went into the maze of bug reporting software and I almost didn't find
back to the problem I tried to fix while stumbling upon the to-be-re
quote:
d = csv.Sniffer().sniff("1,2,3")
def eq(a, b, attributes=[name for name in dir(d) if not
> name.startswith("_")]):
> ... return all(getattr(a, n, None) == getattr(b, n, None) for n in
> attributes)
Only change I made is substituting "dir(csv.excel)" or "dir(csv.Dialect)"
for
quote:
> An implementation for the lazy
>
import csv
d = csv.Sniffer().sniff("1,2,3")
def eq(a, b, attributes=[name for name in dir(d) if not
> name.startswith("_")]):
> ... return all(getattr(a, n, None) == getattr(b, n, None) for n in
> attributes)
> ...
Wow, this is awesome.
Hi out there!
I want to put some intelligence into a csv reading script and in order to do
so I want to compare possible different dialects I collect with some random
d = csv.Sniffer().sniff("1,2,3,4"),
because the csv is kinda dirty.
Now sniff() returns a class object and those aren't compara
quote:
> Does anyone know how to call for the root prompt before launching your
> app?
> Kinda like synaptic or the superuser file manager does?
Do you mean something like "kdesu" for KDE?
--
http://mail.python.org/mailman/listinfo/python-list
Tim Hochberg wrote:
> Claudio Grondi wrote:
>> Peter Otten wrote:
> [SNIP]
>>>How good is "good" for
>>>
>>>import test_vectors
>>>seven_seg = test_vectors.test_vectors.get
>>>
>>>or code using the test suite in general?
>>>
>>>Peter
>>>
>>
>> This started to remind myself about the story of the