Mar-03-2019, 04:25 AM
My decision:
class MyObject: def __init__(self): print('I'm here!') __builtins__.object = MyObject
How to redefine object so that all user- objects have the necessary capabilities?
|
|
Messages In This Thread |
How to redefine object so that all user- objects have the necessary capabilities? - by AlekseyPython - Feb-17-2019, 11:26 AM
RE: How to redefine object so that all user- objects have the necessary capabilities? - by micseydel - Feb-18-2019, 06:41 PM
RE: How to redefine object so that all user- objects have the necessary capabilities? - by AlekseyPython - Feb-20-2019, 10:49 AM
RE: How to redefine object so that all user- objects have the necessary capabilities? - by AlekseyPython - Feb-20-2019, 09:02 AM
RE: How to redefine object so that all user- objects have the necessary capabilities? - by micseydel - Feb-27-2019, 04:46 AM
RE: How to redefine object so that all user- objects have the necessary capabilities? - by AlekseyPython - Mar-03-2019, 04:25 AM
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Is there a library for recursive object creation using config objects | johsmi96 | 0 | 1,857 |
May-03-2021, 08:09 PM Last Post: johsmi96 |
|
Player object wont recognize collision with other objects. | Jan_97 | 3 | 2,725 |
Dec-22-2019, 04:08 PM Last Post: joe_momma |
|
An Object of Objects? | cebb | 4 | 2,833 |
Jul-28-2019, 03:29 PM Last Post: cebb |
|
Redefine __add__ for ints | ihf | 4 | 3,363 |
Jun-01-2019, 06:29 PM Last Post: ihf |
|
error creating new object after loading pickled objects from file | arogers | 2 | 3,462 |
Feb-02-2019, 10:43 AM Last Post: Larz60+ |
|
AttributeError: 'NoneType' object has no attribute 'n' in list of class objects | jdrp | 4 | 5,766 |
Jun-19-2018, 02:44 PM Last Post: jdrp |