Consider how it would affect the readability of your project if you: a) removed the rb prefix and b) made each class into a module
At the moment, rb is used as a namespace. In languages such as C, you need those to avoid nameclashes and to make your code look readable. But Python has a nicer way of representing namespaces already, with a dot. And your classes are verbs, which suggests to me that instantiating it “does something”, rather than “becomes something”. For example, instead of: from guides import Guides guides = Guides() guides.create_guides() You could write: import guides guides.create() In fact, I might encourage you to remove all of your classes entirely, and see what becomes of it. -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAFRtmODaYAkh1TvfXZiVzx1sK_BeSsZOoJw_FOyDdj4NAB4rSA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
