| 
									
										
										
										
											1995-03-02 15:56:30 +00:00
										 |  |  | This directory contains a collection of executable Python scripts that | 
					
						
							|  |  |  | are useful while building, extending or managing Python.  Some (e.g., | 
					
						
							|  |  |  | dutree or lll) are also generally useful UNIX tools. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | See also the Demo/scripts directory! | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2003-01-02 02:24:22 +00:00
										 |  |  | byext.py		Print lines/words/chars stats of files by extension | 
					
						
							| 
									
										
										
										
											1995-03-02 15:56:30 +00:00
										 |  |  | byteyears.py		Print product of a file's size and age | 
					
						
							| 
									
										
										
										
											2003-06-07 18:46:34 +00:00
										 |  |  | checkappend.py		Search for multi-argument .append() calls | 
					
						
							| 
									
										
										
										
											1995-03-02 15:56:30 +00:00
										 |  |  | checkpyc.py		Check presence and validity of ".pyc" files | 
					
						
							|  |  |  | classfix.py		Convert old class syntax to new | 
					
						
							| 
									
										
										
										
											2003-06-07 18:46:34 +00:00
										 |  |  | cleanfuture.py		Fix reduntant Python __future__ statements | 
					
						
							|  |  |  | combinerefs.py		A helper for analyzing PYTHONDUMPREFS output. | 
					
						
							| 
									
										
										
										
											1995-03-02 15:56:30 +00:00
										 |  |  | copytime.py		Copy one file's atime and mtime to another | 
					
						
							| 
									
										
										
										
											1998-10-07 19:52:35 +00:00
										 |  |  | crlf.py			Change CRLF line endings to LF (Windows to Unix) | 
					
						
							| 
									
										
										
										
											1997-08-14 20:16:32 +00:00
										 |  |  | cvsfiles.py		Print a list of files that are under CVS | 
					
						
							| 
									
										
										
										
											2003-02-03 15:09:32 +00:00
										 |  |  | db2pickle.py		Dump a database file to a pickle | 
					
						
							| 
									
										
										
										
											2003-06-08 23:04:17 +00:00
										 |  |  | diff.py			Print file diffs in context, unified, or ndiff formats | 
					
						
							| 
									
										
										
										
											1995-03-02 15:56:30 +00:00
										 |  |  | dutree.py		Format du(1) output as a tree sorted by size | 
					
						
							|  |  |  | eptags.py		Create Emacs TAGS file for Python modules | 
					
						
							| 
									
										
										
										
											2003-06-07 18:46:34 +00:00
										 |  |  | finddiv.py		A grep-like tool that looks for division operators. | 
					
						
							| 
									
										
										
										
											1995-03-02 15:56:30 +00:00
										 |  |  | findlinksto.py		Recursively find symbolic links to a given path prefix | 
					
						
							| 
									
										
										
										
											2005-08-24 21:42:14 +00:00
										 |  |  | findnocoding.py		Find source files which need an encoding declaration | 
					
						
							| 
									
										
										
										
											1995-03-02 15:56:30 +00:00
										 |  |  | fixcid.py		Massive identifier substitution on C source files | 
					
						
							| 
									
										
										
										
											2003-06-07 18:46:34 +00:00
										 |  |  | fixdiv.py		Tool to fix division operators. | 
					
						
							| 
									
										
										
										
											1995-03-02 15:56:30 +00:00
										 |  |  | fixheader.py		Add some cpp magic to a C include file | 
					
						
							| 
									
										
										
										
											1998-10-07 19:52:35 +00:00
										 |  |  | fixnotice.py		Fix the copyright notice in source files | 
					
						
							| 
									
										
										
										
											1995-03-02 15:56:30 +00:00
										 |  |  | fixps.py		Fix Python scripts' first line (if #!) | 
					
						
							| 
									
										
										
										
											1995-06-20 19:31:37 +00:00
										 |  |  | ftpmirror.py		FTP mirror script | 
					
						
							| 
									
										
										
										
											2000-03-10 22:36:57 +00:00
										 |  |  | gencodec.py		Create Python codecs from Unicode mapping files | 
					
						
							| 
									
										
										
										
											2003-06-07 18:46:34 +00:00
										 |  |  | google.py		Open a webbrowser with Google. | 
					
						
							|  |  |  | gprof2html.py		Transform gprof(1) output into useful HTML. | 
					
						
							| 
									
										
										
										
											1995-03-02 15:56:30 +00:00
										 |  |  | h2py.py			Translate #define's into Python assignments | 
					
						
							| 
									
										
										
										
											2004-01-27 14:47:23 +00:00
										 |  |  | hotshotmain.py		Main program to run script under control of hotshot | 
					
						
							| 
									
										
										
										
											2003-06-13 20:34:27 +00:00
										 |  |  | idle			Main program to start IDLE | 
					
						
							| 
									
										
										
										
											1995-03-02 15:56:30 +00:00
										 |  |  | ifdef.py		Remove #if(n)def groups from C sources | 
					
						
							| 
									
										
										
										
											1998-10-07 19:52:35 +00:00
										 |  |  | lfcr.py			Change LF line endings to CRLF (Unix to Windows) | 
					
						
							| 
									
										
										
										
											1995-03-02 15:56:30 +00:00
										 |  |  | linktree.py		Make a copy of a tree with links to original files | 
					
						
							|  |  |  | lll.py			Find and list symbolic links in current directory | 
					
						
							| 
									
										
										
										
											1997-08-14 22:04:26 +00:00
										 |  |  | logmerge.py		Consolidate CVS/RCS logs read from stdin | 
					
						
							| 
									
										
										
										
											1998-10-07 19:52:35 +00:00
										 |  |  | mailerdaemon.py		parse error messages from mailer daemons (Sjoerd&Jack) | 
					
						
							| 
									
										
										
										
											2003-06-07 18:46:34 +00:00
										 |  |  | md5sum.py		Print MD5 checksums of argument files. | 
					
						
							| 
									
										
										
										
											1995-03-02 15:56:30 +00:00
										 |  |  | methfix.py		Fix old method syntax def f(self, (a1, ..., aN)): | 
					
						
							|  |  |  | mkreal.py		Turn a symbolic link into a real file or directory | 
					
						
							| 
									
										
										
										
											1998-10-07 19:52:35 +00:00
										 |  |  | ndiff.py		Intelligent diff between text files (Tim Peters) | 
					
						
							|  |  |  | nm2def.py		Create a template for PC/python_nt.def (Marc Lemburg) | 
					
						
							| 
									
										
										
										
											1995-03-02 15:56:30 +00:00
										 |  |  | objgraph.py		Print object graph from nm output on a library | 
					
						
							| 
									
										
										
										
											2003-06-07 18:46:34 +00:00
										 |  |  | parseentities.py	Utility for parsing HTML entity definitions | 
					
						
							| 
									
										
										
										
											1995-03-02 15:56:30 +00:00
										 |  |  | pathfix.py		Change #!/usr/local/bin/python into something else | 
					
						
							|  |  |  | pdeps.py		Print dependencies between Python modules | 
					
						
							| 
									
										
										
										
											2003-02-03 15:09:32 +00:00
										 |  |  | pickle2db.py		Load a pickle generated by db2pickle.py to a database | 
					
						
							| 
									
										
										
										
											1995-03-02 15:56:30 +00:00
										 |  |  | pindent.py		Indent Python code, giving block-closing comments | 
					
						
							|  |  |  | ptags.py		Create vi tags file for Python modules | 
					
						
							| 
									
										
										
										
											2003-06-07 18:46:34 +00:00
										 |  |  | pydoc			Python documentation browser. | 
					
						
							| 
									
										
										
										
											2005-08-24 21:42:14 +00:00
										 |  |  | pysource.py		Find Python source files | 
					
						
							| 
									
										
										
										
											2003-06-07 18:46:34 +00:00
										 |  |  | redemo.py		Basic regular expression demostration facility | 
					
						
							|  |  |  | reindent.py		Change .py files to use 4-space indents. | 
					
						
							| 
									
										
										
										
											1998-10-07 19:52:35 +00:00
										 |  |  | rgrep.py		Reverse grep through a file (useful for big logfiles) | 
					
						
							| 
									
										
										
										
											2003-06-07 18:46:34 +00:00
										 |  |  | setup.py		Install all scripts listed here. | 
					
						
							| 
									
										
										
										
											1995-03-02 15:56:30 +00:00
										 |  |  | suff.py			Sort a list of files by suffix | 
					
						
							| 
									
										
										
										
											2003-05-10 03:30:13 +00:00
										 |  |  | texcheck.py             Validate Python LaTeX formatting (Raymond Hettinger) | 
					
						
							| 
									
										
										
										
											1998-10-07 19:52:35 +00:00
										 |  |  | texi2html.py		Convert GNU texinfo files into HTML | 
					
						
							| 
									
										
										
										
											2003-06-07 18:46:34 +00:00
										 |  |  | trace.py		Trace Python program or function execution | 
					
						
							| 
									
										
										
										
											1997-08-14 20:16:32 +00:00
										 |  |  | treesync.py		Synchronize source trees (very ideosyncratic) | 
					
						
							| 
									
										
										
										
											1998-10-07 19:52:35 +00:00
										 |  |  | untabify.py		Replace tabs with spaces in argument files | 
					
						
							| 
									
										
										
										
											1995-03-02 15:56:30 +00:00
										 |  |  | which.py		Find a program in $PATH | 
					
						
							|  |  |  | xxci.py			Wrapper for rcsdiff and ci |