[Pythonmac-SIG] Help with TKinter under 10.3
Bob W
kranki2 at earthlink.net
Fri Nov 14 15:30:08 EST 2003
Thanks, that helped. Sometimes, I just don't see those things! :) So,
now I do:
import _tkinter
import Tkinter
Tkinter._test()
I get the window up with a couple of msgs and two buttons. However, it
stays in the background and issues "SetFrontProcess failed,-606" back
in the python Terminal session. BTW, I got the description of this out
of the Python FAQ. That is why I am using it.
Thanks again for any help.
Begin forwarded message:
> From: Bob Ippolito <bob at redivi.com>
> Date: November 14, 2003 9:26:31 AM EST
> To: Bob W <kranki2 at earthlink.net>
> Cc: pythonmac-sig at python.org
> Subject: Re: [Pythonmac-SIG] Help with TKinter under 10.3
>
>
> On Nov 14, 2003, at 9:02 AM, Bob W wrote:
>
>> Sorry if this has been answered before. I did look thru the archive,
>> but did not find anything that seems to fit my request. Also, I am
>> new to Python and TclTk.
>>
>> I run 10.3.1 on a Powerbook G4 and keep the OS up2date. I am trying
>> to get Tcl/Tk to work with the Apple-Installed version of python. I
>> downloaded MacPython and installed it. Then I installed _tkinter
>> using PackageManager.Then I downloaded TclTkAqua and installed it. I
>> then reinstalled (ie upgraded MacPython then _tkinter), because
>> sometimes the order of these things seems to be important. "import
>> _tkinter" now works, but "import TKinter" does not (ie can't find the
>> module).
>>
>> Could someone please point out what I am doing wrong? Thanks you for
>> your help.
>
> Check your shift key? It's called Tkinter, not TKinter.
> Capitalization matters in Python, even though it doesn't in the
> filesystem.
>
> -bob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1906 bytes
Desc: not available
Url : http://mail.python.org/pipermail/pythonmac-sig/attachments/20031114/6b576131/attachment.bin
More information about the Pythonmac-SIG
mailing list