annotate Tools/scripts/README @ 49955:878d40468c4e legacy-trunk

Issue #4384: Added logging integration with warnings module using captureWarnings(). This change includes a NullHandler which does nothing; it will be of use to library developers who want to avoid the "No handlers could be found for logger XXX" message which can appear if the library user doesn't configure logging.
author Vinay Sajip <vinay_sajip@yahoo.co.uk>
date Wed, 03 Dec 2008 23:22:58 +0000
parents 315a66d2247a
children a8bb82f5fd64 9f0366260cfb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2472
dd2845d06eb3 moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff changeset
1 This directory contains a collection of executable Python scripts that
dd2845d06eb3 moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff changeset
2 are useful while building, extending or managing Python. Some (e.g.,
dd2845d06eb3 moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff changeset
3 dutree or lll) are also generally useful UNIX tools.
dd2845d06eb3 moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff changeset
4
dd2845d06eb3 moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff changeset
5 See also the Demo/scripts directory!
dd2845d06eb3 moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff changeset
6
27009
72c3f7347e88 Add byext.py
Guido van Rossum <guido@python.org>
parents: 11966
diff changeset
7 byext.py Print lines/words/chars stats of files by extension
2472
dd2845d06eb3 moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff changeset
8 byteyears.py Print product of a file's size and age
29370
c01edc35ffd6 Patch #748849: Update to current tools and demos.
Martin v. Löwis <martin@v.loewis.de>
parents: 29061
diff changeset
9 checkappend.py Search for multi-argument .append() calls
2472
dd2845d06eb3 moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff changeset
10 checkpyc.py Check presence and validity of ".pyc" files
dd2845d06eb3 moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff changeset
11 classfix.py Convert old class syntax to new
29370
c01edc35ffd6 Patch #748849: Update to current tools and demos.
Martin v. Löwis <martin@v.loewis.de>
parents: 29061
diff changeset
12 cleanfuture.py Fix reduntant Python __future__ statements
c01edc35ffd6 Patch #748849: Update to current tools and demos.
Martin v. Löwis <martin@v.loewis.de>
parents: 29061
diff changeset
13 combinerefs.py A helper for analyzing PYTHONDUMPREFS output.
2472
dd2845d06eb3 moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff changeset
14 copytime.py Copy one file's atime and mtime to another
9295
a1ca085168fc Added a whole bunch of descriptions.
Guido van Rossum <guido@python.org>
parents: 6321
diff changeset
15 crlf.py Change CRLF line endings to LF (Windows to Unix)
6035
614118a1348c Added cvsfiles.py and treesync.py
Guido van Rossum <guido@python.org>
parents: 2761
diff changeset
16 cvsfiles.py Print a list of files that are under CVS
27633
48033017c78f note db2pickle.py and pickle2db.py
Skip Montanaro <skip@pobox.com>
parents: 27009
diff changeset
17 db2pickle.py Dump a database file to a pickle
29386
cd5ecc5b38eb Added a command line interface for difflib.py
Raymond Hettinger <python@rcn.com>
parents: 29370
diff changeset
18 diff.py Print file diffs in context, unified, or ndiff formats
2472
dd2845d06eb3 moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff changeset
19 dutree.py Format du(1) output as a tree sorted by size
dd2845d06eb3 moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff changeset
20 eptags.py Create Emacs TAGS file for Python modules
29370
c01edc35ffd6 Patch #748849: Update to current tools and demos.
Martin v. Löwis <martin@v.loewis.de>
parents: 29061
diff changeset
21 finddiv.py A grep-like tool that looks for division operators.
2472
dd2845d06eb3 moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff changeset
22 findlinksto.py Recursively find symbolic links to a given path prefix
35428
245e8f4cba1d Add findnocoding.py and pysource.py.
Georg Brandl <georg@python.org>
parents: 31429
diff changeset
23 findnocoding.py Find source files which need an encoding declaration
2472
dd2845d06eb3 moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff changeset
24 fixcid.py Massive identifier substitution on C source files
29370
c01edc35ffd6 Patch #748849: Update to current tools and demos.
Martin v. Löwis <martin@v.loewis.de>
parents: 29061
diff changeset
25 fixdiv.py Tool to fix division operators.
2472
dd2845d06eb3 moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff changeset
26 fixheader.py Add some cpp magic to a C include file
9295
a1ca085168fc Added a whole bunch of descriptions.
Guido van Rossum <guido@python.org>
parents: 6321
diff changeset
27 fixnotice.py Fix the copyright notice in source files
2472
dd2845d06eb3 moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff changeset
28 fixps.py Fix Python scripts' first line (if #!)
2761
b40cabfdc91d added ftp mirror script
Guido van Rossum <guido@python.org>
parents: 2613
diff changeset
29 ftpmirror.py FTP mirror script
29370
c01edc35ffd6 Patch #748849: Update to current tools and demos.
Martin v. Löwis <martin@v.loewis.de>
parents: 29061
diff changeset
30 google.py Open a webbrowser with Google.
c01edc35ffd6 Patch #748849: Update to current tools and demos.
Martin v. Löwis <martin@v.loewis.de>
parents: 29061
diff changeset
31 gprof2html.py Transform gprof(1) output into useful HTML.
2472
dd2845d06eb3 moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff changeset
32 h2py.py Translate #define's into Python assignments
31429
adb6dffd8dd5 add hotshotmain.py ref
Skip Montanaro <skip@pobox.com>
parents: 29437
diff changeset
33 hotshotmain.py Main program to run script under control of hotshot
29437
179d5452bb9d Put the main script for the new IDLE here.
Guido van Rossum <guido@python.org>
parents: 29386
diff changeset
34 idle Main program to start IDLE
2472
dd2845d06eb3 moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff changeset
35 ifdef.py Remove #if(n)def groups from C sources
9295
a1ca085168fc Added a whole bunch of descriptions.
Guido van Rossum <guido@python.org>
parents: 6321
diff changeset
36 lfcr.py Change LF line endings to CRLF (Unix to Windows)
2472
dd2845d06eb3 moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff changeset
37 linktree.py Make a copy of a tree with links to original files
dd2845d06eb3 moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff changeset
38 lll.py Find and list symbolic links in current directory
6046
8ba46b0778da Added logmerge.py
Guido van Rossum <guido@python.org>
parents: 6035
diff changeset
39 logmerge.py Consolidate CVS/RCS logs read from stdin
9295
a1ca085168fc Added a whole bunch of descriptions.
Guido van Rossum <guido@python.org>
parents: 6321
diff changeset
40 mailerdaemon.py parse error messages from mailer daemons (Sjoerd&Jack)
29370
c01edc35ffd6 Patch #748849: Update to current tools and demos.
Martin v. Löwis <martin@v.loewis.de>
parents: 29061
diff changeset
41 md5sum.py Print MD5 checksums of argument files.
2472
dd2845d06eb3 moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff changeset
42 methfix.py Fix old method syntax def f(self, (a1, ..., aN)):
dd2845d06eb3 moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff changeset
43 mkreal.py Turn a symbolic link into a real file or directory
9295
a1ca085168fc Added a whole bunch of descriptions.
Guido van Rossum <guido@python.org>
parents: 6321
diff changeset
44 ndiff.py Intelligent diff between text files (Tim Peters)
a1ca085168fc Added a whole bunch of descriptions.
Guido van Rossum <guido@python.org>
parents: 6321
diff changeset
45 nm2def.py Create a template for PC/python_nt.def (Marc Lemburg)
2472
dd2845d06eb3 moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff changeset
46 objgraph.py Print object graph from nm output on a library
29370
c01edc35ffd6 Patch #748849: Update to current tools and demos.
Martin v. Löwis <martin@v.loewis.de>
parents: 29061
diff changeset
47 parseentities.py Utility for parsing HTML entity definitions
2472
dd2845d06eb3 moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff changeset
48 pathfix.py Change #!/usr/local/bin/python into something else
dd2845d06eb3 moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff changeset
49 pdeps.py Print dependencies between Python modules
27633
48033017c78f note db2pickle.py and pickle2db.py
Skip Montanaro <skip@pobox.com>
parents: 27009
diff changeset
50 pickle2db.py Load a pickle generated by db2pickle.py to a database
2472
dd2845d06eb3 moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff changeset
51 pindent.py Indent Python code, giving block-closing comments
dd2845d06eb3 moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff changeset
52 ptags.py Create vi tags file for Python modules
29370
c01edc35ffd6 Patch #748849: Update to current tools and demos.
Martin v. Löwis <martin@v.loewis.de>
parents: 29061
diff changeset
53 pydoc Python documentation browser.
35428
245e8f4cba1d Add findnocoding.py and pysource.py.
Georg Brandl <georg@python.org>
parents: 31429
diff changeset
54 pysource.py Find Python source files
39337
315a66d2247a Update list of files; fix a typo
Andrew M. Kuchling <amk@amk.ca>
parents: 35428
diff changeset
55 redemo.py Basic regular expression demonstration facility
29370
c01edc35ffd6 Patch #748849: Update to current tools and demos.
Martin v. Löwis <martin@v.loewis.de>
parents: 29061
diff changeset
56 reindent.py Change .py files to use 4-space indents.
9295
a1ca085168fc Added a whole bunch of descriptions.
Guido van Rossum <guido@python.org>
parents: 6321
diff changeset
57 rgrep.py Reverse grep through a file (useful for big logfiles)
29370
c01edc35ffd6 Patch #748849: Update to current tools and demos.
Martin v. Löwis <martin@v.loewis.de>
parents: 29061
diff changeset
58 setup.py Install all scripts listed here.
2472
dd2845d06eb3 moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff changeset
59 suff.py Sort a list of files by suffix
39337
315a66d2247a Update list of files; fix a typo
Andrew M. Kuchling <amk@amk.ca>
parents: 35428
diff changeset
60 svneol.py Sets svn:eol-style on all files in directory.
29061
1babbb4919a7 Added a tool for making a rough check of LaTeX documents.
Raymond Hettinger <python@rcn.com>
parents: 27633
diff changeset
61 texcheck.py Validate Python LaTeX formatting (Raymond Hettinger)
9295
a1ca085168fc Added a whole bunch of descriptions.
Guido van Rossum <guido@python.org>
parents: 6321
diff changeset
62 texi2html.py Convert GNU texinfo files into HTML
6035
614118a1348c Added cvsfiles.py and treesync.py
Guido van Rossum <guido@python.org>
parents: 2761
diff changeset
63 treesync.py Synchronize source trees (very ideosyncratic)
9295
a1ca085168fc Added a whole bunch of descriptions.
Guido van Rossum <guido@python.org>
parents: 6321
diff changeset
64 untabify.py Replace tabs with spaces in argument files
2472
dd2845d06eb3 moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff changeset
65 which.py Find a program in $PATH
dd2845d06eb3 moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff changeset
66 xxci.py Wrapper for rcsdiff and ci