Getting the XP clipboard in tkinter

Matthias Huening mhuening at zedat.fu-berlin.de
Mon Jul 1 02:07:55 EDT 2002


"Edward K. Ream" <edream at tds.net> wrote in 
news:3D1F1A81.95602DE0 at tds.net:

>  The
> following two statements also take exceptions:
> 
> s = app().root.selection_get("clipboard")
> s = app().root.selection_get(".")
> 

Did you try this:
root.selection_get(selection="CLIPBOARD")

Worked for me...

Matthias



More information about the Python-list mailing list