How to convert a string into an integer

Tobiah toby at tobiah.org
Mon Jan 22 16:49:00 EST 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