Re: Question on class module import

2009-12-05 Thread monkeyboy
Thank you, that clears it for me -- http://mail.python.org/mailman/listinfo/python-list

Re: Question on class module import

2009-12-04 Thread Steven D'Aprano
On Fri, 04 Dec 2009 15:10:49 -0800, monkeyboy wrote: > Hello, > > I want to write a wrapper class around a windows dll. If I put the class > in a module "Refprop.py" then import the class where I want to use it, > does the whole module get read by the interpreter or just the class > code?... Eve

Re: Question on class module import

2009-12-04 Thread MRAB
monkeyboy wrote: Hello, I want to write a wrapper class around a windows dll. If I put the class in a module "Refprop.py" then import the class where I want to use it, does the whole module get read by the interpreter or just the class code?... [snip] The whole module will be run. In Pytho

Question on class module import

2009-12-04 Thread monkeyboy
Hello, I want to write a wrapper class around a windows dll. If I put the class in a module "Refprop.py" then import the class where I want to use it, does the whole module get read by the interpreter or just the class code?... For example if I say the following in "Refprop.py" does the code abov