Quote:
> I write:
> import string
> toto = atoi("123")
> I get NameError: atoi
> Why ?
> Thanks ....
You should preceed the function with the name of the imported module.
So, you have to write:
toto = string.atoi("123")
If you want to avoid this and to rederence function directly, you must
initially write:
from string import *
instead of : import string
then, you can write:
toto = atoi("123")
--
Soldatos John
Epsilon Software S.A., Syggrou Ave. 377, GR17564, Athens, Greece
tel. +301-9308370-4, fax. +301-9427719