Re: [python-win32] COM - question about DynamicPolicy.py

2006-03-01 Thread wccppp
That solved the problem.  And I think I got what is the "name" parameter is for now.  Thank you so much Roger!   - wcc On 3/1/06, Roger Upole <[EMAIL PROTECTED]> wrote:You should be able to just change string to os: item = getattr(os, string.lower(name)) Roger__

[python-win32] COM - question about DynamicPolicy.py

2006-03-01 Thread wccppp
Hello group,I was reading Chapter 12 of Python Programming on Win32 and trying to mimic the sample code DynamicPolicy.py.  I wanted to expose methods/properties defined in the module os.  Here is what I did.  I only made very minor changes to the original code.  It seems the COM server was register