clipboard

richard_chamberlain richard_chamberlain at ntlworld.com
Mon Jul 10 18:33:10 EDT 2000


Hi Keith,

content=root.selection_get()

Richard

Keith Murphy <kpmurphy at my-deja.com> wrote in message
news:8kdeae$9fv$1 at nnrp1.deja.com...
> In article <8kddiq$8oc$1 at nnrp1.deja.com>,
>   Keith Murphy <kpmurphy at my-deja.com> wrote:
> > how do you read from / write to the system clipboard from Tkinter?
> i'm
> > on a unix machine, if that matters.  Thanks,
> >
> > -->keith
> >
> > Sent via Deja.com http://www.deja.com/
> > Before you buy.
> >
>
> i've found out that...
>
> >>> root.clipboard_clear()
> >>> root.clipboard_append('python rules!')
>
>
> ... places text on the system clipboard, but how do you paste?
> thanks...
>
> -->keith
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.





More information about the Python-list mailing list