[Tutor] copy / paste

Danny Yoo dyoo@hkn.eecs.berkeley.edu
Tue, 23 Apr 2002 18:18:14 -0700 (PDT)


On Tue, 23 Apr 2002, Ian! wrote:

> (oops, I sent the message without the [Tutor] tag. Sorry to whomever gets
> that accidentally)

No problem.


> So, here's the question: How can I copy and paste to the windows
> clipboard from a python script? I wasn't able to find anything about
> this in the library reference.

Here you go:

    http://margaretmorgan.com/wesley/python/clipboard.py



Good luck!