Commit Graph

18 Commits

Author SHA1 Message Date
Serhiy Storchaka e0ed2d75c8 Issue #19936: Added executable bits or shebang lines to Python scripts which
requires them.  Disable executable bits and shebang lines in test and
benchmark files in order to prevent using a random system python, and in
source files of modules which don't provide command line interface.
2014-01-16 18:59:17 +02:00
Andrew M. Kuchling 949f71b446 #687648 from Robert Schuppenies: use classic division. (RM Barry gave permission to update the demos.) 2008-09-13 01:22:08 +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
Andrew M. Kuchling 3725dea9c3 Docstring fix; use True 2006-06-03 23:09:58 +00:00
Andrew M. Kuchling 311562ac75 Use true division, and the True value 2006-06-03 23:07:21 +00:00
Andrew M. Kuchling 98900bc7bb Use True; value returned from main is unused 2006-06-03 23:02:15 +00:00
Andrew M. Kuchling 510b46fb42 Some code tidying; use curses.wrapper 2006-06-03 22:59:59 +00:00
Andrew M. Kuchling 6f159b1def Drop 0 parameter 2006-06-03 22:59:23 +00:00
Andrew M. Kuchling 08bcfc2331 Update readme 2006-06-03 22:44:42 +00:00
Tim Peters e6ddc8b20b Whitespace normalization. Ran reindent.py over the entire source tree. 2004-07-18 05:56:09 +00:00
Andrew M. Kuchling 9a62448d2f Use random module instead of whrandom
Move imports to top
2002-04-10 14:50:16 +00:00
Andrew M. Kuchling 10f9c075b9 Remove obsolete e-mail address 2001-11-05 21:25:42 +00:00
Guido van Rossum 2b28776369 Added "repeat.py" -- repeatedly execute a shell command (like
watch(1)).  Updated and untabified the README file.
2001-01-05 20:54:07 +00:00
Andrew M. Kuchling 994d8539f6 Choose the smallest value of x,y for the clock's radius (instead of just taking the
y coordinate), and change radius of second indicator to compensate
Remove redundant setting of sradius
2000-12-23 14:50:18 +00:00
Andrew M. Kuchling 72a18a6659 Update this demo to use curses.panel 2000-12-22 21:50:01 +00:00
Andrew M. Kuchling 23382f5047 Another demo from Thomas Gellekum (seasonally-themed, too) 2000-12-21 16:26:37 +00:00
Andrew M. Kuchling 15c3c2bdf8 Curses demos contributed by Thomas Gellekum <tg@FreeBSD.org>.
ncurses.py requires panel support, and therefore doesn't work yet.
2000-12-15 00:41:48 +00:00
Andrew M. Kuchling a3b5a5f2db Check in README file and one demo program 2000-12-13 03:50:20 +00:00