Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Button click problem using OOP
Post: RE: Button click problem using OOP

Thanks for the great explanation deanhystad. Yes I asked the console to print i, and yes it equalled 2. I like the lambda solution, giving arguments before the colon which are evaluated at run rather ...
JohnB GUI 5 793 Oct-21-2020, 12:43 PM
    Thread: Button click problem using OOP
Post: RE: Button click problem using OOP

Thank you for your replies. I have learnt something from both of them. I could pass the button as an argument as you suggest deanhistad but I need to configure up to 20 buttons, so I would prefer them...
JohnB GUI 5 793 Oct-20-2020, 11:05 AM
    Thread: Button click problem using OOP
Post: Button click problem using OOP

Can anyone help me with a problem illustrated in the code below. I am instantiating three tkinter buttons and saving the objects in a list which is I think a fairly standard way of doing things. The b...
JohnB GUI 5 793 Oct-18-2020, 07:41 PM
    Thread: OOP behaviour problem
Post: RE: OOP behaviour problem

Thanks for your replies. I can see that I was treating objects more like a database that would take the place of Lists in a more structured way, which would be able to be accessed using a keyword. Th...
JohnB General Coding Help 3 692 Aug-18-2020, 07:51 PM
    Thread: OOP behaviour problem
Post: OOP behaviour problem

With the help of the many tutorials available I am teaching myself OOP. Or at least in the offset, discovering what OOP is all about and how it can structure coding and organises data. I have in gener...
JohnB General Coding Help 3 692 Aug-17-2020, 06:33 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020