[Python-Dev] Fun with whitespace
jepler at unpythonic.net
Wed Jul 21 13:59:29 CEST 2004
On Wed, Jul 21, 2004 at 11:38:12AM +0100, Michael Hudson wrote:
> kbk at shore.net (Kurt B. Kaiser) writes:
> > Alternatively, PS2 could be four spaces (or do you all prefer the
> > dots?) and indents could be four spaces. It seems that cut/paste
> > would work if the reindent first magically replaced '^>>> ' (and
> > '^...') with ''.
> Is it possible to have copy/paste see the text w/o prompts?
This should be possible, through use of Tk's "selection handle" command,
available as Tkinter.Misc.selection_handle() in Python. I've never used
this, though, under plain tk or under Python.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-dev/attachments/20040721/d20d153d/attachment.pgp
More information about the Python-Dev