I oftentimes see classes containing def execute(self) and def run()
Does python automatically pick this up like int main() in C++?
The run() method is used by the Thread and Process classes (in the threading and multiprocessing modules) and is the entry point to the object when you call the it's .start() method.
If you've seen it outside of that usage then I would think that it's probably either contextual or coincidental.
I'm not aware of any canonical execute() method.
Why do classes have Def Run() and Def Execute()?