DMKC. gamer
DMKC. gamer

Reputation: 1

Abstraction in python

I understand what abstraction is, however, I do not how we would implement abstraction in python. When searching, all I was able to find are abstract classes which I do not see relating to abstraction at all.

Upvotes: 0

Views: 422

Answers (1)

crunker99
crunker99

Reputation: 371

In Python, abstraction really only exists for design/conceptual purposes, not like in other languages like Java or C++.

Maybe you already saw abc module:

https://docs.python.org/3/library/abc.html

Upvotes: 2

Related Questions