I have seen two ways for defining Abstract Classes in Python.
This one:
from abc import ABCMeta, abstractmethod
class AbstactClass(metaclass = ABCMeta):
And this one:
from abc import ABC, abstractmethod
class AbstractClass2(ABC):
What are there differences between them and what are the respective usage scenarios?