What the self? Python's self demystified!
Posted by Simon Larsén in Programming
Any Python programmer will sooner or later want to (or have to) write a class.
With classes come self
, the seemingly (do note the emphasis there)
magical keyword that you just have to write out as the first parameter to every
method. To really understand classes, you need to understand …