Can python access windows clipboard

2007-06-21 Thread MaHL
Can I use python to copy something(like a string) to the clipboard, so that I can paste it somewhere else. Is there a way to do this? Thanks very much! -- http://mail.python.org/mailman/listinfo/python-list

Re: Can python access windows clipboard

2007-06-21 Thread Ant
On Jun 21, 9:59 am, MaHL [EMAIL PROTECTED] wrote: Can I use python to copy something(like a string) to the clipboard, so that I can paste it somewhere else. Is there a way to do this? The following requires Mark Hammond's win32all package (http:// sourceforge.net/projects/pywin32/): import

Re: Can python access windows clipboard

2007-06-21 Thread Gabriel Genellina
En Thu, 21 Jun 2007 05:59:06 -0300, MaHL [EMAIL PROTECTED] escribió: Can I use python to copy something(like a string) to the clipboard, so that I can paste it somewhere else. Is there a way to do this? Yes, using the pywin32 extensions that you can download from Sourceforge py from

Re: Can python access windows clipboard

2007-06-21 Thread Michael Hoffman
MaHL wrote: Can I use python to copy something(like a string) to the clipboard, so that I can paste it somewhere else. Is there a way to do this? If you're using Cygwin Python you can just open /dev/clipboard and work on that. -- Michael Hoffman --

Re: Can python access windows clipboard

2007-06-21 Thread MaHL
thanks a lot! -- http://mail.python.org/mailman/listinfo/python-list