[python-win32] class and modules

2008-07-26 Thread kNish
Hi, I went thru the notes. I said i will understand when the group explains this to me. How much difference does it make to call a module as it and call it as being part of a class. Say Class a: def b:def b: def c:

Re: [python-win32] class and modules

2008-07-26 Thread Gerdus van Zyl
Wel firstly it won't work, the class should be: class a(object): def b(self): print b def c(self): print c so to call b you first need instance of object: myA = a() myA.b() I am not really understanding what you wish to achieve. Also you say I went thru the notes., what

Re: [python-win32] SetCursor

2008-07-26 Thread Michiel Overtoom
Brian wrote... The way it works is, when you click on the 'target' the mouse cursor changes, and it is kept that way as long as you keep the mouse button down, even when you drag the mouse out of the window (that's the point of the application). Have you tried to 'capture' the mouse with

Re: [python-win32] SetCursor

2008-07-26 Thread Brian Parma
On Sat, Jul 26, 2008 at 6:19 PM, Michiel Overtoom [EMAIL PROTECTED] wrote: Brian wrote... The way it works is, when you click on the 'target' the mouse cursor changes, and it is kept that way as long as you keep the mouse button down, even when you drag the mouse out of the window (that's

Re: [python-win32] class and modules

2008-07-26 Thread Larry Bates
kNish wrote: Hi, I went thru the notes. I said i will understand when the group explains this to me. How much difference does it make to call a module as it and call it as being part of a class. Say Class a: def b: