Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Delete an object created from another class
Post: RE: Delete an object created from another class

Yes,homework, following exercices in a book to learn Python Ok, so I'll use id then thanks
alan9979 GUI 4 2,742 Jul-13-2019, 08:48 AM
    Thread: Delete an object created from another class
Post: RE: Delete an object created from another class

Thanks, I don't understand yet. So if I don't add "self.readlin=..", how can it be deleted ? from tkinter import * class FaceDom(object): def __init__(self, can): self.can =can self.can.create_...
alan9979 GUI 4 2,742 Jul-12-2019, 11:26 PM
    Thread: Delete an object created from another class
Post: Delete an object created from another class

Hi,I'm still confuse how multiple class interact between eachother, undestanding why in the following code, you can create a line but not delete it would help. When I click butB, nothing happens, coul...
alan9979 GUI 4 2,742 Jul-12-2019, 09:48 PM
    Thread: Button in one class, methods in another one
Post: RE: Button in one class, methods in another one

Thanks for your very fast reply metulburr, I am still trying to erase just the mouth. But I don't understand why my erase methode, using what you said above, doesn't work : When I click the erase but...
alan9979 GUI 4 2,856 Jul-10-2019, 10:11 PM
    Thread: What is the purpose of "None" in event=None with tkinter ?
Post: RE: What is the purpose of "None" in event=None wi...

Thank you Ichabod801, it helps
alan9979 GUI 2 6,482 Jul-10-2019, 08:50 PM
    Thread: Button in one class, methods in another one
Post: Button in one class, methods in another one

Hi, I spent 2 days trying to solve this little exercice, creating a face with button open or closing his mouth. I do have 2 questions about this code : I cannot delete the round face to create a clos...
alan9979 GUI 4 2,856 Jul-10-2019, 08:39 PM
    Thread: What is the purpose of "None" in event=None with tkinter ?
Post: What is the purpose of "None" in event=None with t...

In the following code, I try with and without the "=None" on line 30 (def changeCouleurs(self,event=None):), but there's no difference. I would like to understand in which case you use event=None. Th...
alan9979 GUI 2 6,482 Jul-06-2019, 12:29 PM

User Panel Messages

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