Using the Windows clipboard in Python

Wesley Phoa doctorwes at mindspring.com
Wed Jun 9 20:07:27 CEST 1999


Small modification: removed 'import win32con' as all I needed were two
constants. So the Win32 extensions are no longer required. Also, added the
ability to read/write NumPy arrays (via theclipboard.array attribute).

Wesley Phoa wrote in message <7jik35$esd$1 at nntp6.atl.mindspring.net>...
>This is a preliminary version of a module which lets you exchange data via
>the Windows clipboard, either as a string or as a 2D array. For example,
>this lets you copy and paste data between Python programs and Excel.







More information about the Python-list mailing list