Python avoids some of the problems with JAVA, by having “soft variables”(my term for them). These are variables which are actually processes (“methods” or “class functions”) in disguise as simple variables present within objects (“attributes” in the case of simple variables, and “properties” in the case of the more involved) .
They are a lot of articles online about them. [ Here is a link: http://2ndscale.com/rtomayko/2005/getters-setters-fuxors ] to one of the best articles I have found.