Re: [Tutor] Platform Independence in Python

2011-04-07 Thread Alan Gauld
"Ratna Banjara" wrote In windows we should write =>import tkinter while in linux, we should write =>import Tkinter The difference is not the Operating System but the Python version. Version 3 has many incompatibilities with version 2. This is one of them so it looks like you have v3 on W

Re: [Tutor] Platform Independence in Python

2011-04-06 Thread Steve Willoughby
On 06-Apr-11 21:39, Ranjith Kumar wrote: On Thu, Apr 7, 2011 at 10:04 AM, Ratna Banjara 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. A

Re: [Tutor] Platform Independence in Python

2011-04-06 Thread Ranjith Kumar
Hi Ratna, I hope this link will help http://www.java2s.com/Code/Python/GUI-Tk/AlarmDemo.htm On Thu, Apr 7, 2011 at 10:04 AM, Ratna Banjara wrote: > Hello all, > > I was learning GUI in python and found dissimilarities while importing > 'tkinter' module. > In windows we should write > =>impo

[Tutor] Platform Independence in Python

2011-04-06 Thread Ratna Banjara
Hello all, I was learning GUI in python and found dissimilarities while importing 'tkinter' module. In windows we should write =>import tkinter while in linux, we should write =>import Tkinter Difference is Capital ' T '. Means same code cannot run on both platform , how can we adjust this issue