On 06-Apr-11 21:39, Ranjith Kumar wrote:
On Thu, Apr 7, 2011 at 10:04 AM, Ratna Banjara <mast.ra...@gmail.com
<mailto:mast.ra...@gmail.com>> wrote:
    In windows we should write
    =>import tkinter

    while in linux, we should write
    =>import Tkinter

Actually, you should do the same thing on both platforms. Are you running the same code on both platforms?

The correct name is "Tkinter" (capital T) for Python 2.x,
and "tkinter" (lower-case) for Python 3.x, regardless of platform.

--
Steve Willoughby / st...@alchemy.com
"A ship in harbor is safe, but that is not what ships are built for."
PGP Fingerprint 48A3 2621 E72C 31D9 2928 2E8F 6506 DB29 54F7 0F53
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to