Importing Objects from a Class
Hello people good night. I have the following problem: to make it easier to maintain / translate an application, I created a class called ProgramVocab to store all the strings used. However, when I try to import these strings to use them in the project, I get the AttributeError, saying that they are undefined attributes. For example: How the class is: https://hastebin.com/haruhacohe.py To call the objects I am using the following: https://hastebin.com/oxatumuyep.coffeescript (Please ignore the .coffeescript extension that Hastebin generated above) Well, when I try to modify the calling mode of the class - using an instance - as explained in this link ( https://stackoverflow.com/questions/3434581/accessing-a-class-member-variables-in-JUMP_LINK__&&__python__&&__JUMP_LINK ) I get theTypeError: 'module' object is not callable. So, what am I doing wrong? Sounds like a simple problem, but I can not figure it out.