2008/8/21 Lie Ryan <[EMAIL PROTECTED]>:
> Python is strictly typed (unlike some languages like Javascript), you
> cannot compare a string with a number although the string only contains
> numbers. sys.argv[...] is a list of strings so preNumber[0] is a string,
> while 0 is an integer.

Thanks.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

ä-ö-ü-ß-Ä-Ö-Ü
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to