Hi,
Vasilis Vlachoudis wrote:
> I works within the same process.
> When I try to launch it twice, so I can have clipboard exchange between
> different processes
>
> I get the following exception:
> Traceback (most recent call last):
> File "/usr/lib/python3.6/tkinter/__init__.py", line 1702,
possible
mime/formats available.
V.
From: Vasilis Vlachoudis
Sent: Thursday, March 01, 2018 17:13
To: Michael Lange; tkinter-discuss@python.org
Subject: RE: [Tkinter-discuss] clipboard and bytes
I did something else.
I've used the binascii.b2a_hex() and a2b_hex() f
it to type="STRING" but with no success
From: Tkinter-discuss
[tkinter-discuss-bounces+vasilis.vlachoudis=cern...@python.org] on behalf of
Michael Lange [klappn...@web.de]
Sent: Thursday, March 01, 2018 00:12
To: tkinter-discuss@python.org
Subject: Re: [Tk
o type="STRING" but with no success
From: Tkinter-discuss
[tkinter-discuss-bounces+vasilis.vlachoudis=cern...@python.org] on behalf of
Michael Lange [klappn...@web.de]
Sent: Thursday, March 01, 2018 00:12
To: tkinter-discuss@python.org
Subject: Re: [Tkinter-discuss] clipboard
On Wed, 28 Feb 2018 20:42:51 +0100
Michael Lange wrote:
(...)
> So at least this primitive seems to work. Maybe you can use this
> technique to achieve what you want.
Or maybe this slightly modified example comes closer to what you are
looking for:
from tkinter import *
root = Tk()
def copy(s
Hi,
On Wed, 28 Feb 2018 10:59:31 +
Vasilis Vlachoudis wrote:
(...)
> In python3 Pickler requires a byte stream so I replaced all StringIO()
> to BytesIO() and the targets with bytes target1 = b""
> Copying to clipboard work ok (or I believe so)
> Pasting, clipboard_get() returns a str not by