> On Wed, Jun 9, 2010 at 4:07 PM, Chris Rebert <c...@rebertia.com> wrote: >> > On Wed, Jun 9, 2010 at 3:37 PM, Dave Angel <da...@ieee.org> wrote: >> >> Note, I said "REPLY-ALL'. By default a simple reply goes to the >> >> individual, and not to the list. Make sure python-list@python.org is >> >> in >> >> your "TO:" list. I'm sending this back to the list, with my remarks at >> >> the >> >> end, since top-posting is inconsistent and confusing. >> >> >> >> madhuri vio wrote: >> >>> >> >>> yea i have deleted all the files related to dat module and >> >>> now when i try to execute it ,,it says >> >>> >> >>> python madhu.py >> >>> Traceback (most recent call last): >> >>> File "madhu.py", line 4, in <module> >> >>> import tkinter >> >>> ImportError: No module named tkinter >> >>> >> >>> and it has already been installed... >> >>> so i was wondering if there was any other way of importing tkinter >> >>> module >> >>> and where am i wrong..i am stuck;( >> >>> >> >>> On Wed, Jun 9, 2010 at 3:03 PM, Dave Angel <da...@ieee.org> wrote: >> >>> >> >>> <snip> >> >> >> >> Two questions: >> >> >> >> 1) what version of Python ? You're using the version 3 capitalization. >> >> Might you have version 2.x of Python installed? >> >> >> >> >>>>Tkinter has been renamed to tkinter in Python 3.0 >> >> >> >> import sys >> >> print sys.version >> >> >> On Wed, Jun 9, 2010 at 3:30 AM, madhuri vio <madhuri....@gmail.com> wrote: >> > 1) 2.6.2 (release26-maint, Apr 19 2009, 01:56:41) >> > [GCC 4.3.3] >> >> In that case: import Tkinter >> NOT: import tkinter >> >> Capitalization is crucial. On Wed, Jun 9, 2010 at 3:44 AM, madhuri vio <madhuri....@gmail.com> wrote: > thankyou so much ..i made it finally... > how do i make buttons and i want a lil text to label the buttons also
Read a tutorial. Here's one I found: http://www.pythonware.com/library/tkinter/introduction/ Google is also your friend. Regards, Chris -- http://blog.rebertia.com -- http://mail.python.org/mailman/listinfo/python-list