atoi
Artur Lipowski
lal at pro.onet.pl
Wed Apr 24 08:55:19 EDT 2002
In article <mailman.1019649779.5458.python-list at python.org>,
Mariappan, MaharajanX wrote:
...
> is there any python buildin method whihc will convert strings into integer,
> like atoi in c lib.?
> "234" should be converted into interger value 234
...
int() and company.
Look at "Python Library Reference" chapter 2.1 "Built-in Functions". Also
using searchable Python manual at
http://starship.python.net/crew/theller/pyhelp.cgi
with "conversion" keyword will find out what you need.
In other words RTFM 8-)
Regards,
--
Artur Lipowski
More information about the Python-list
mailing list