How to convert a string into an integer

Tobiah toby at tobiah.org
Mon Jan 22 22:49:00 CET 2007


> count = sys.argv[2]
> for i in range(count):
>     #do some stuff

for i in range(int(count)):


-- 
Posted via a free Usenet account from http://www.teranews.com




More information about the Python-list mailing list