That's why i disagree (and hate) the automatic compilation of code, my
project directory becomes full of object files, and then i need to either
delete everything manually or create a script to do the work (not in python,
because it'll dirt things even more :). Sometimes i notice python doesn't
rec
>
> copy, here, is a dict method. It will create a dict.
> If you really need it, you could try this:
>
> import copy
> class neodict(dict):
>def copy(self):
>return copy.copy(self)
>
> d = neodict()
> print type(d)
> dd = d.copy()
> print type(dd)
One more gotcha to python... OO in
You could look into the windows registry, the key
"HKLM\SYSTEM\CurrentControlSet\Control\Nls" has all the supported LCID's
listed. If not, you could simply get the codepage provided by
locale.setlocale(), e.g.:
import locale
print(locale.setlocale(locale.LC_ALL, ""))
prints "Portuguese_Brazil.125