Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Dynamically implement __str__ if not implemented
Post: Dynamically implement __str__ if not implemented

I am trying to write a function, strFix, that takes a class object as parameter, and checks if the class has an __str__() method , and if not will automatically add one, that prints all the member var...
jamesbond112 Homework 2 1,858 Apr-25-2020, 03:32 PM

User Panel Messages

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