On 8/9/11 11:14 PM, ÊØÖê´ýÍÃ wrote:
when code2 run ,there is output  "i am abc",(where is "i am not abc")?

print "i am abc"

displays the string "i am abc" in standard output.

return "i am not abc"

is the return value of the function--it is not displayed. You'd have to use the "print" command for that.

--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to