Tkinter Newbie Question

2007-12-06 Thread robbie
tle('Sing...') win.protocol('WM_DELETE_WINDOW', lambda:0) win.iconbitmap('py-blue-trans-out.ico') msg = Button(win, text='Write Something', command=salutation(tree)) msg.pack(expand=YES, fill=BOTH) msg.config(fg='black', bg=color, font=('times', 30, 'bold italic')) I figure there's something very basic I'm missing about passing a parameter from a Tkinter widget to a function. Can anyone tell me what I'm doing wrong? Thank you so much! Robbie in Montana -- http://mail.python.org/mailman/listinfo/python-list

Re: Tkinter Newbie Question

2007-12-08 Thread robbie
Hi Mark, Thank you so much for the help. I figured it was something pretty simple like that. And I was also puzzled by the concept of the lambda function, so now I know what they do too. I just tried it out, and it works well. Much appreciated, Ciao back at you, Robbie -- http

Newbie Question: How to use a .pth file on a Macintosh

2008-05-24 Thread Robbie
Hello All, Hopefully this is an easy question: I'd like to use a .pth file on my Macintosh so that I can easily import modules that I've created in my own working directory. I've created a file called Robbie.pth. It includes a single line: /Robbie/PythonWork I can't seem

Python script error when using print

2010-04-06 Thread Robbie
t; return s But, a script like this, does not. #!/usr/bin/env python print "hello world" When I try to use the script with print, the server returns a broken link error. There is nothing in the apache error log to help me understand why it won't work. Any help? thanks robb

I could not install pygame no matter what

2023-01-21 Thread Robbie mezazem
70916814/error-metadata-generation-failed-cant-install-artic-module Sent from Mail for Windows -- https://mail.python.org/mailman/listinfo/pyth

RE: evaluation question

2023-02-08 Thread Robbie mezazem
Ok I understand Sent from Mail for Windows From: Rob Cliffe via Python-list Sent: Tuesday, February 7, 2023 6:54 PM To: Chris Angelico; python-list@python.org S