@Calli:
OP question was ansered already.
What you suggest - using getters/setters for properties is anti-pattern in python. Even in your code you don't use them in __str__() method :-)
some reading: Why don't you want getters and setters?
OP question was ansered already.
What you suggest - using getters/setters for properties is anti-pattern in python. Even in your code you don't use them in __str__() method :-)
some reading: Why don't you want getters and setters?
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs