Re: [python-win32] newbie question on calling DynamicPolicy.py frompython com client

2008-01-20 Thread Michel Claveau
Hi! Sorry, I can't read "THE" book, today. I only wish to say than Python-COM-dynamic-server run very well. I use this techno all days, and also many of my customers (but they don't know it ; because it's transparent, for them). @-salutations Michel Claveau

Re: [python-win32] newbie question on calling DynamicPolicy.py from python com client

2008-01-19 Thread Mark Hammond
se the COM object 'ob' to be called with DISPID_VALUE) Hope this helps, Mark From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nicholas Sent: Sunday, 20 January 2008 4:22 AM To: python-win32@python.org Subject: [python-win32] newbie question on calling DynamicPolic

[python-win32] newbie question on calling DynamicPolicy.py from python com client

2008-01-19 Thread Nicholas
Hi, I have executed tried to call the ch12 example dynamic server " DynamicPolicy.py" from python client via: m = win32com.client.Dispatch('PythonDemos.StringModule') m.split('hello there') which gives the following error: pythoncom error: Python error invoking COM method. : Objects of type 'fun

Re: [python-win32] Newbie question

2006-09-22 Thread Tim Roberts
Mark C. Brighton wrote: Hello, I don't really have experience using win32com and I'm running into a problem. I'm trying to use a COM object. Several of the functions take strings as arguments, but when I pass in a string I get an exception: import win32com.client

Re: [python-win32] Newbie question

2006-09-22 Thread Mark Hammond
> Hello, I don't really have experience using win32com and I'm > running into a problem. I'm trying to use a COM object. > Several of the functions take strings as arguments, but when > I pass in a string I get an exception: ... > > The documentation claims that the argument is a pointer to a

[python-win32] Newbie question

2006-09-22 Thread Mark C. Brighton
Hello, I don't really have experience using win32com and I'm running into a problem. I'm trying to use a COM object. Several of the functions take strings as arguments, but when I pass in a string I get an exception: >>> import win32com.client >>> o=win32com.client.gencache.EnsureDispatch("AT9

Re: [python-win32] Newbie question. Python asp and diacritic characters

2005-12-19 Thread aurora
Do you find any more detail error message than a 500 Server Error? I have no experience with using Python in the context of ASP. To use non-ASCII characters correctly requires the understanding of character encoding and to use them correctly through out a chain of software components. In you

[python-win32] Newbie question. Python asp and diacritic characters

2005-12-12 Thread mikael.mikaelsson
Hello, I'm new to Python and also to asp. I started checking those two out just a couple of days ago. Anyway, things seems to work fine except that diacritic characters like the Swedish ÅåÄäÖö generate a "HTTP/1.1 500 Server Error". This example generates the error: ---