[Tutor] (no subject)

Daniel Yoo dyoo@hkn.eecs.berkeley.edu
Mon, 22 Jan 2001 03:27:55 -0800 (PST)

On Sun, 21 Jan 2001, D-Man wrote:

> On Sat, Jan 20, 2001 at 05:56:09PM -0800, Matthias Hager wrote: | I
> know you guys are about to rip your hair out over me, I'm annoying I
> know! But I have some questions here on how to do some special stuff
> in Python. (And is it possible to use a GUI with Perl?)

Don't sweat about it; we like talking to people.  *grin*

I've heard that Perl/Tk is really good.  In fact, the winner of this
year's Obfuscated Perl contest is a Frogger game written in Perl/Tk.


> | 1. How do I access the clipboard, so I can make cut and paste options?
> MS Windows?  X?  I don't know for either, but if you are using Windows
> try the win32all module maintained by Mark Hammond.

Hard question.  I don't know how Windows does it, but on UNIX platforms,
it goes all over the place.  I have a small example that uses Gtk+'s
interface, but it's just awkward:


When I was trying to do selections, lots of people recommened me to jwz's


especially the part about "X Cut and Paste":


Supposedly, the details make even grown men cry.  *grin*