Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #21310 > unrolled thread
| Started by | Peter Otten <__peter__@web.de> |
|---|---|
| First post | 2012-03-07 09:39 +0100 |
| Last post | 2012-03-07 09:39 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Get tkinter text to the clipboard Peter Otten <__peter__@web.de> - 2012-03-07 09:39 +0100
| From | Peter Otten <__peter__@web.de> |
|---|---|
| Date | 2012-03-07 09:39 +0100 |
| Subject | Re: Get tkinter text to the clipboard |
| Message-ID | <mailman.458.1331109581.3037.python-list@python.org> |
bugzilla-mail-box@yandex.ru wrote:
> How can I get something from tkinter gui to another program ?
> tkinter on python 3.2 on kde4
How about
import tkinter
root = tkinter.Tk()
root.clipboard_clear()
root.clipboard_append("whatever")
Back to top | Article view | comp.lang.python
csiph-web