![]() |
|
[Python] How to inherit methods from an existing instance? - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [Python] How to inherit methods from an existing instance? (/showthread.php?tid=5968877) |
How to inherit methods from an existing instance? - Meelo XO - May 11, 2019 I want to be able to use HTMLPrime with any other class. Code import cgiHere is the output: Code Traceback (most recent call last):What's wrong? |