Stripping characters from windows clipboard with win32clipboard from excel

Neil Hodgson nhodgson at iinet.net.au
Wed Sep 18 17:40:52 EDT 2013


Dave Angel:

> So is the bug in Excel, in Windows, or in the Python library?  Somebody
> is falling down on the job;  if Windows defines the string as ending at
> the first null, then the Python interface should use that when defining
> the text defined with CF_UNICODETEXT.

    Everything is performing correctly. win32clipboard is low-level 
direct access to the Win32 clipboard API. A higher level API which is 
more easily used from Python could be defined on top of this if anyone 
was motivated.

    Neil




More information about the Python-list mailing list