|
List Info
Thread: question about DynamicPolicy.py
|
|
| question about DynamicPolicy.py |

|
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 |
  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
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 |

|
2007-02-04 22:01:28 |
|
When is the next book coming out?
On 2/4/07, Mark Hammond < mhammond skippinet.com.au">mhammond skippinet.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
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
_______________________________________________ Python-win32 mailing list python.org">
Python-win32 python.org http://mail.python.org/mailman/listinfo/python-win32
-- http://www.goldwatches.com http://www.wazoozle.com
|
| Re: question about DynamicPolicy.py |

|
2007-02-05 16:38:31 |
Thanks Mark.
_______________________________________________
Python-win32 mailing list
Python-win32 python.org
http://mail.python.org/mailman/listinfo/python-win32
|
|
[1-4]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|