[gtk] troubles with string -> float conversion

L'Ordinateur du Particulier ordina at wanadoo.fr
Wed Apr 18 11:27:54 EDT 2001


Hi,

i have some problems with string to float conversion in python

before importing gtk module, the string "6.6" is converted into float
without problem, but after the gtk module has been imported,
the syntax "6.6" is invalid, python's waiting "6,6" ...

the float() function seems to have been overwritten !?

is there a way to choose which decimal separator to use ?

Regards

Fabrice PIERROT



More information about the Python-list mailing list