Help for Python GUI programming

Nick Trout nick at nil_spam_videosystem.co.uk
Tue Sep 5 11:24:33 EDT 2000


def comm34( ):
    a = 34

button stuff... command=comm34

or

command = lambda x: a = 34



"Dudek7" <Dudek7 at mailroom.com> wrote in message
news:Dc7t5.10237$rG4.261446 at typhoon1.ba-dsg.net...
> Hi, I'm a newbie to python gui programming.
>
> I can make buttons and position them but i have a question.
>
> WHen u set the button command(command=Watever)
>
> I need to set the command to a = 34.
>
> but by doing (command=a=34) doesnt work.
>
> Can anyone please help me?
>
> thanks
>
>





More information about the Python-list mailing list