Mar-01-2018, 08:45 AM
I agree with Larz. It's more correct/intuitive to have a class Alysha with multiple methods. Think of class as objects. Reading is "activity", i.e. it's intuitive to have it as method of an object (class), different properties of an object (like color or list of commands), well have them as property of the class. In certain cases it may be convenient for you to have an abstract object like Reader, but this is not the case here.
Also, I strongly advise you to read PEP 8 and follow it, because your current code does not comply with it and is hard to follow and will be difficult for other people to contribute in the future if it becomes large project.
Also, I strongly advise you to read PEP 8 and follow it, because your current code does not comply with it and is hard to follow and will be difficult for other people to contribute in the future if it becomes large project.