Benjamin Peterson
91f04dd6fd
nuke ancient script with dubious license ( closes #12987 )
2014-12-02 18:45:23 -05:00
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
Georg Brandl
b3f9d66ca3
Remove ftpstats script, the daemon whose log files it reads is long gone.
2009-10-11 14:49:37 +00:00
Georg Brandl
393c823245
Update lpwatch script.
2009-10-11 14:23:49 +00:00
Georg Brandl
8ec30e835f
Fix variable.
2009-10-11 12:03:01 +00:00
Georg Brandl
ce662d0467
Use getopt in script.py demo.
2009-10-11 12:00:18 +00:00
Mark Dickinson
9bb796597d
Set missing executable property on scripts
2009-10-11 10:01:17 +00:00
Mark Dickinson
ab6d373aa0
Fix 'primes 0 1'
2009-10-11 09:35:57 +00:00
Georg Brandl
4271ecaf72
Update primes script.
2009-10-11 08:48:28 +00:00
Georg Brandl
6e62c56416
Remove useless script "mkrcs" and update README.
2009-10-11 08:45:03 +00:00
Georg Brandl
86d38e9ecc
Update markov demo.
2009-10-11 08:39:16 +00:00
Georg Brandl
30fd2bb884
Update morse script, avoid globals, use iterators.
2009-10-11 08:18:44 +00:00
Georg Brandl
723fb3adc8
Modernize all around (dont ask me how useful that script is nowadays...)
2009-10-10 22:26:45 +00:00
Georg Brandl
ffc87d5c8c
Style fixes.
2009-10-10 22:03:43 +00:00
Georg Brandl
a0bcc27e65
Modernize factorisation demo (mostly augassign.)
2009-10-10 21:55:11 +00:00
Georg Brandl
3d072c9587
Show use of range() step argument nicely.
2009-10-10 21:47:31 +00:00
Georg Brandl
0b798a9d4d
Remove outdated comment and fix a few style issues.
2009-10-10 21:43:21 +00:00
Benjamin Peterson
75b32c9c76
remove script which uses long gone module
2009-10-10 21:15:58 +00:00
Georg Brandl
69f81a8b68
Remove unneeded "L" suffixes.
2009-10-10 21:10:05 +00:00
Georg Brandl
18cb949807
Bring old demo up-to-date.
2009-10-10 21:07:35 +00:00
Andrew M. Kuchling
d9a9c1066c
Update uses of string exceptions
2008-09-13 01:57:25 +00:00
Andrew M. Kuchling
dda0ce7285
Remove semicolon
2008-09-13 01:47:02 +00:00
Andrew M. Kuchling
2a9b9cbea0
#687648 from Robert Schuppenies: use classic division.
2008-09-13 01:43:28 +00:00
Neal Norwitz
10be10cbe7
Remove regsub, reconvert, regex, regex_syntax and everything under lib-old.
2006-03-16 06:50:13 +00:00
Johannes Gijsbers
7a8c43ee6a
Add 'if __name__ == "__main__":' to files already as a usable as a module.
2004-09-11 16:34:35 +00:00
Andrew M. Kuchling
6a507a104d
Remove mpzpi demo
2004-08-31 13:42:11 +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
0ec0b725ae
Fix comment typo
2004-07-17 14:44:17 +00:00
Walter Dörwald
70a6b49821
Replace backticks with repr() or "%r"
...
From SF patch #852334 .
2004-02-12 17:35:32 +00:00
Raymond Hettinger
bbd290ab8d
Revert previous change which didn't make sense the next day :-)
2003-12-10 15:22:23 +00:00
Raymond Hettinger
e807da807c
Update to use python ints and int/long unification.
2003-12-10 01:58:52 +00:00
Martin v. Löwis
bb640c15a1
Patch #748849 : Update to current tools and demos.
2003-06-07 18:46:34 +00:00
Skip Montanaro
2cfc4725d5
add find-uname.py
2003-01-01 20:27:13 +00:00
Skip Montanaro
f2c47114e7
Search for Unicode character names using regular expressions.
2003-01-01 20:26:47 +00:00
Guido van Rossum
3b0a3293c3
Massive changes from SF 589982 (tempfile.py rewrite, by Zack
...
Weinberg). This changes all uses of deprecated tempfile functions to
the recommended ones.
2002-08-09 16:38:32 +00:00
Guido van Rossum
1b776a2745
Deleting merge zombie.
2001-07-17 13:57:17 +00:00
Moshe Zadka
273ad453f5
Updated to use new Python features
...
Reindented
2001-02-20 16:32:24 +00:00
Moshe Zadka
8b6f989815
Fixed to use new Python features and use more commonly accepted style
...
Reindented
2001-02-20 16:21:35 +00:00
Moshe Zadka
38e083bcc9
Changed to use the fact that str(long) doesn't produce a trailing L
...
Reindented
2001-02-20 16:13:43 +00:00
Guido van Rossum
4526f2a230
A solution to the classic N queens problem.
2000-11-16 21:25:51 +00:00
Guido van Rossum
d9e5d17407
Fix bug discovered by Klaus-Juergen Wolf -- it runs into infinite recursion!
1999-06-09 19:07:22 +00:00
Guido van Rossum
b55f9ff68c
100 bottles of beer on the wall example.
...
After a version by Fredrik Lundh that I found on the web somewhere.
(I like mine better, but of course that may have to do with my alcohol
consumption. :-)
1998-12-21 18:30:20 +00:00
Guido van Rossum
4117e5428b
nannified
1998-09-14 16:44:15 +00:00
Guido van Rossum
6c3a2cbc52
whrandom -> random
1998-05-20 17:13:01 +00:00
Guido van Rossum
ba179051aa
Fix the way the version number is gotten out of the RCS revision.
1997-12-09 19:39:12 +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
09b39fad8c
moved lots of stuff to Tools/scripts
1995-03-02 16:00:55 +00:00
Guido van Rossum
ee24811042
Invent Message-ID header if none is present
1995-01-12 12:40:48 +00:00
Guido van Rossum
06ed202ef4
sys.stderr(...) should be sys.stderr.write(), of course
1995-01-04 19:18:59 +00:00
Guido van Rossum
07c9645413
Get rid of freeze (now its own directory).
...
Added some new demos. Fixed a few others.
1994-10-03 16:45:35 +00:00