0

You think I should divivde my 9 classes into different modules? If two modules are in the same folder, importing one from the other is as simple as imort modulename, right? Any suggestion on how to divide it up? I won't have bother using python packages, will I? I think I'll try coding the gui by hand then, I want the code to be nice and clean. Are there any good tutorials on using PyQt? Thanks.

0

Typically one large class per module is a good enough approach. Sometimes two small, related classes can be added to the same module. Yes, import modulename works, and no, you won't need package.

This is the tutorial I keep referring back to when I get stuck:
http://zetcode.com/tutorials/pyqt4/

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.