Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Not having to rewrite 'obj.' on each line
Post: Not having to rewrite 'obj.' on each line

Let's say I have this class: class MyNewClass: def func1(self): print('something to do') def func2(self): print('other thin to do')The normal syntax to call methods of this class is: obj =...
beuaaa General Coding Help 4 3,178 Sep-29-2018, 08:04 AM

User Panel Messages

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