Commit Graph

105 Commits

Author SHA1 Message Date
Benjamin Peterson cd0ace391c remove svn:executable from scripts without a shebang line 2010-03-08 02:11:06 +00:00
Mark Dickinson 3e4caeb3bf Issue #5341: Fix a variety of spelling errors. 2009-02-21 20:27:01 +00:00
Guilherme Polo 4eae078448 Demos for ttk added. 2009-01-28 15:56:01 +00:00
Andrew M. Kuchling 2a9b9cbea0 #687648 from Robert Schuppenies: use classic division. 2008-09-13 01:43:28 +00:00
Georg Brandl 74bbc79d10 Replace all map(None, a) with list(a). 2008-07-18 19:06:13 +00:00
Benjamin Peterson 5b63acd31e #2503 make singletons compared with "is" not == or !=
Thanks to Wummel for the patch
2008-03-29 15:24:25 +00:00
Georg Brandl c76ea27965 Use os.closerange(). 2008-02-23 22:14:02 +00:00
Guido van Rossum 41f039292f A thread-less variant of brownian.py, submitted by Michele Simoniato. 2007-11-26 22:16:49 +00:00
Neal Norwitz 10be10cbe7 Remove regsub, reconvert, regex, regex_syntax and everything under lib-old. 2006-03-16 06:50:13 +00:00
Tim Peters 182b5aca27 Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
Walter Dörwald 70a6b49821 Replace backticks with repr() or "%r"
From SF patch #852334.
2004-02-12 17:35:32 +00:00
Guido van Rossum 065627e15c Add "select all" by clicking on (0,0) cell.
Redo setting the selection and setting the beacon to deal better
with rows or columns -- these are now expressed by range (1, sys.maxint).
2002-11-02 22:18:46 +00:00
Guido van Rossum bfcd6533e4 Add ESC key binding -- undo current cell editing. 2002-11-02 06:50:05 +00:00
Guido van Rossum 3669242ac9 Major breakthrough in selection -- drag-select multiple cells now
works.  Also row and column selection works (sort of).  The DEL
key deletes the selected rectangle.  sys.argv[1] used by test_gui().
2002-11-02 06:25:51 +00:00
Guido van Rossum 69ccfcc8da Spreadsheet demo that I used in the advanced talk at Linux Lunacy II. 2002-10-28 01:06:37 +00:00
Guido van Rossum eeb7827cad Remove reference to deleted 'www' directory. 2002-10-18 18:54:22 +00:00
Tim Peters 817ed5a750 Kill another merge zombie. 2001-07-17 21:10:44 +00:00
Guido van Rossum 75698a4937 Removing these scripts. redemo.py lives on in Tools/scripts/.
regexdemo.py is obsolete with the regex module.
2000-10-06 17:38:42 +00:00
Guido van Rossum 6a1b1338de Removing junk 2000-05-11 18:28:03 +00:00
Guido van Rossum 60cc90ec98 This demo imported some private code from Matt. Make it cripple along. 1999-04-08 15:18:12 +00:00
Guido van Rossum fe78cc0f7e Adding Fredrik Lundh's demo of the option menu. 1998-10-20 15:32:39 +00:00
Guido van Rossum 9c2c1e88a3 Fix multi-arg list.append() calls. 1998-10-08 15:24:48 +00:00
Barry Warsaw dfae3d55f2 Added a 'Help' special menu to show how this is done. 1998-10-06 19:37:20 +00:00
Guido van Rossum d24d3fcd03 Added the mainloop() call. 1998-09-14 17:52:29 +00:00
Guido van Rossum 98c92c83a5 Show how to do switchable panels. 1998-07-15 14:58:05 +00:00
Guido van Rossum 7e0e9555b7 Get rid of the lock; it's no longer needed. 1998-06-30 17:01:06 +00:00
Guido van Rossum 5542449875 Remove the doc string -- it doesn't tell the truth. 1998-05-29 20:08:35 +00:00
Guido van Rossum 0da45c4089 New demo -- Perl style regular expression matching.
Slightly more featureful than regexdemo.py.
1998-05-29 19:57:47 +00:00
Guido van Rossum 7e7912f2ca Protect all uses of the random generator with a lock.
Particles break out of their loop when the main loop exits.
1998-05-28 23:02:33 +00:00
Guido van Rossum 3d3a52aa3a An example of a multi-threaded Tkinter program. 1998-05-28 22:52:01 +00:00
Guido van Rossum f638d1c9dd Fix some comments; move 'import random' to top. 1998-05-26 21:43:44 +00:00
Guido van Rossum 6c3a2cbc52 whrandom -> random 1998-05-20 17:13:01 +00:00
Guido van Rossum 29892d848c Use whrandom instead of rand.
Run 500 steps instead of forever.
1998-05-19 21:16:10 +00:00
Guido van Rossum bd8341eeeb Catch exceptions in final self.destroy() call. 1998-04-10 19:17:41 +00:00
Guido van Rossum 25f1722dd7 Paint demo by Dave Mitchell. There's clearly a demand for such a
demo, so here it is.
1998-01-26 16:47:30 +00:00
Guido van Rossum 37885c27c0 Trivial change in prompt label suggested by Case Roole. 1997-11-24 17:49:13 +00:00
Guido van Rossum 46a0bb4c3c Typo discovered by Case Roole. 1997-10-07 14:37:58 +00:00
Guido van Rossum d6449a2b11 Be more careful with closing fd's 0,1,2. 1997-10-07 14:37:31 +00:00
Guido van Rossum 5edcf34fac Change bind() to tag_bind() so it works again. 1997-09-24 13:39:51 +00:00
Guido van Rossum a2f626ff58 Patch by Case Roole <cjr@bound.xs4all.nl> to fail with a more
explanatory message when the manual directories aren't found.
(I have to say I'm surprised that it actually still works!)
1997-09-15 15:39:11 +00:00
Guido van Rossum 21c5c8fa5b Correct off-by-two-pixels error. 1997-08-22 20:56:07 +00:00
Guido van Rossum dac444703d Add try-finally around main loop. 1997-08-14 19:49:27 +00:00
Guido van Rossum 9a8cb84072 Checked in some new Tk demos that I wrote a while ago. 1997-04-03 00:04:51 +00:00
Guido van Rossum b5846d7600 A different winning animation. 1996-12-30 16:45:14 +00:00
Guido van Rossum a0dc1c4a61 Actually, *this* fixes the last bug. 1996-12-30 02:37:07 +00:00
Guido van Rossum 1b2b53a25d Considerably restructured. This fixes the one remaining bug. 1996-12-30 02:20:29 +00:00
Guido van Rossum 8de9f894e1 Solitaire game, like the one that comes with Windows. 1996-12-29 20:15:32 +00:00
Guido van Rossum f06ee5fa07 /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
Guido van Rossum 58a7856961 Pass self as master to Entry() widget constructor. 1996-11-27 19:47:42 +00:00
Guido van Rossum a4ddb238bc update -- Undo is now entry 1 1996-08-21 20:13:08 +00:00