help me
Chris Rebert
clp2 at rebertia.com
Wed Jun 9 06:37:59 EDT 2010
> On Wed, Jun 9, 2010 at 3:37 PM, Dave Angel <davea at 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 at 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 <davea at 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.vio at 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.
Cheers,
Chris
--
Top-posting makes everything screwy.
http://blog.rebertia.com
More information about the Python-list
mailing list