To call your own member function inside the python class, you must add self

Reposted from the author of the blog garden

https://www.cnblogs.com/Stephen-Qin/p/9781769.html

Guess you like

Origin blog.csdn.net/SingDanceRapBall/article/details/104762733