On Wed, 18 Jul 2007 08:29:58 +1000, John Machin <[EMAIL PROTECTED]> wrote:
> ...
I have a bunch of directories and files from different systems
(each directory contains files from the same system) which are
encoded differently (though all of them are in Russian), so the
following encodings are pr
Hello everybody,
I want to create a script which reads files in a
current directory and renames them according to some
scheme. The file names are in Russian - sometimes
the names encoded as win-1251, sometimes as koi8-r etc.
I want to read in file name and convert it to list for
further proces
ed as
a result of a call to D().met(), the effect is different from the effect
of a call to B().met(). But a documentation of a super() doesn't mention
anything like that (or at least I didn't find it), and it seems a
significant piece of information. Doesn't it imply that there should
be another explanation?
ddtl.
--
http://mail.python.org/mailman/listinfo/python-list
lookup order (according to a new-style MRO) is B, then C
and at last A (because of a diamond inheritance), but only when
attribute is not found in B it is looked up in C, and only if it
is not found neither in B nor in C it is looked up in A...
What is different here?
ddtl.
--
http://mail.python.org/mailman/listinfo/python-list
Thanks everybody for pointing out the problem.
And indeed, the script was named differently on Linux.
ddtl.
--
http://mail.python.org/mailman/listinfo/python-list
ample, the following code works and doesn't cause any errors:
import re
re.compile('a')
What else could cause such an error?
ddtl.
--
http://mail.python.org/mailman/listinfo/python-list