I have a problem where type comparisons don't work in a second module when
unit tests in the first module are run. In the example below, class Test is
declared in one.py. When one.py is executed, it calls a method in two.py
that imports Test from one.py. The problem is that the Test object passe
You read me like a book :) I just moved from C# a few months ago, and
I played with C++ for a while before that.
Seriously though, for some of my more complicated subsystems (graphics,
for example), putting all the classes in one module seems excessive.
Right now that subsystem has around 10
I've been playing around with Python for a few months now, and I just
recently started looking at packages to organize my growing project. So
far, I've been organizing my application into one class per module.
This has been working pretty well. For example, I simply "import
timer", then use