List Info

Thread: question about DynamicPolicy.py




question about DynamicPolicy.py
user name
2007-02-02 11:03:07
Greetings,

In Chapter 12 of "Python Programming on Win32"; there is a sample code demonstrating how to expose a python module in a COM server.  A function named FixArgs is used in the example to convert Unicode string to ascii string.  I'm guessing this is no longer necessary for the recent versions of python.  Btw, I'm using version 2.5. Can anyone confirm this? Thank you.

--
Kelie
Re: question about DynamicPolicy.py
country flaguser name
Australia
2007-02-04 17:28:26
That's correct - it is no longer necessary to convert unicode to ascii for pywin32's sake.  You may have other reasons to perform either that conversion or a completely different conversion, but again, not because pywin32 insists.
 
Cheers,
 
Mark
-----Original Message-----
From: python-win32-bouncespython.org [mailto:python-win32-bouncespython.org]On Behalf Of k f
Sent: Saturday, 3 February 2007 4:03 AM
To: python-win32python.org
Subject: [python-win32] question about DynamicPolicy.py

Greetings,

In Chapter 12 of "Python Programming on Win32" there is a sample code demonstrating how to expose a python module in a COM server.  A function named FixArgs is used in the example to convert Unicode string to ascii string.  I'm guessing this is no longer necessary for the recent versions of python.  Btw, I'm using version 2.5. Can anyone confirm this? Thank you.

--
Kelie
Re: question about DynamicPolicy.py
user name
2007-02-04 22:01:28
When is the next book coming out?

On 2/4/07, Mark Hammond < mhammondskippinet.com.au">mhammondskippinet.com.au> wrote:
That's correct - it is no longer necessary to convert unicode to ascii for pywin329;s sake. ; You may have other reasons to perform either that conversion or a completely different conversion, but again, not because pywin32 insists.
 
Cheers,
 
Mark
-----Original Message-----
From: python.org" target="_blank"> python-win32-bouncespython.org [mailto:python.org" target="_blank">python-win32-bouncespython.org]On Behalf Of k f
Sent: Saturday, 3 February 2007 4:03 AM
To: python.org" target="_blank">python-win32python.org
Subject: [python-win32] question about DynamicPolicy.py

Greetings,

In Chapter 12 of "Python Programming on Win32"; there is a sample code demonstrating how to expose a python module in a COM server.&nbsp; A function named FixArgs is used in the example to convert Unicode string to ascii string.&nbsp; I'm guessing this is no longer necessary for the recent versions of python.&nbsp; Btw, I'm using version 2.5. Can anyone confirm this? Thank you.

--
Kelie

_______________________________________________
Python-win32 mailing list
python.org"> Python-win32python.org
http://mail.python.org/mailman/listinfo/python-win32





--
http://www.goldwatches.com
http://www.wazoozle.com
Re: question about DynamicPolicy.py
user name
2007-02-05 16:38:31
Thanks Mark.
_______________________________________________
Python-win32 mailing list
Python-win32python.org

http://mail.python.org/mailman/listinfo/python-win32

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )