A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-July/046391.html below:

[Python-Dev] Fun with whitespace

[Python-Dev] Fun with whitespace [Python-Dev] Fun with whitespaceJeff Epler 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?
> 
> Cheers,
> mwh

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.

Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
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 mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4