When python searches for a module to import, it first uses sys.modules
or the built-in modules:
When a module named spam is imported, the interpreter first searches for a built-in module with that name. If not found …
Since there is already an abc
module you’re importing the wrong module.
Change the name of your module.
solved calling python method name from name [closed]