[EMAIL PROTECTED] wrote:
> Can you please tell me why the following code does not work in python?
> My guess is I need to convert 'count' from a string to an integer. How
> can I do that?
> And my understanding is python is a dynamic type language, should
> python convert it for me automatically?
> 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
--
http://mail.python.org/mailman/listinfo/python-list
Can you please tell me why the following code does not work in python?
My guess is I need to convert 'count' from a string to an integer. How
can I do that?
And my understanding is python is a dynamic type language, should
python convert it for me automatically?
count = sys.argv[2]
for i in range(