This software is in the public domain. You are free to use, copy, modify
and distribute this software and associated documentation for any
non-commercial purpose, provided the source code comments and
documentation contain the existing credits.
This software is provided "as is" with no warranties or guaranties.
These scripts are written in the python programming language, and require that python be installed. Download python from here. These script will run with any 2.x version starting with 2.3.
- HtmlCleaner
- A program to clean up HTML documents created
by Microsoft Word.
Htmlcleaner will:
- Place all html tags on a seperate line,and merge tags split across lines
- Replace Microsoft-specific character encodings with standard HTML encodings
- Allow you to select tags, and either replace the tag/end tag pair with new text, or delete the tag/end tag and all contents.
- Mark all <meta>, <link>, <!-- if>, and <o:p> tags as deleted
- Note this is not a full-featured html edittor, it just provides a quick way to review and do single/bulk change or delete of html tags. You do have to have an understanding of html tags, and any other changes to the html require using a text or html editor.
- Current release is 0.5.
Known issues:
- edit status is not saved, if you save and exit you will have to remember
where you left off in the file
Downloads:
Windows Executable
Python Source Code
- mls.user.js
- A greasemonkey extension to add google lookups to mls.ca sites for every text line containing a street abbreviation.
If you want to customize the script, save it to your local harddrive, and change the list of phrases to match.
The script is here.
- math quiz generator
- Click here to generate a 30-question addition quiz page
- Math Quiz Genrator 2
- Click here to generate a 25-question quiz that mixes addition and subtraction up to 999. Can omit operands or answers. (This one was written by Sandy.)
- directory compare tool
- A python command-line script which compares two directories and reports differences. It will report missing files or directories, or modified files. Files are reported as different if either their size is different, or the md5 checksum of the two files is different. To download it, click here and save as dirdiff.py.
- find duplicate files tool
- A python command-line script which searches one or more directories and reports all filenames with multiple ocurrences. It also looks inside .zip files found during the search. You can then view the results by directory or filename, update the exclude list, redisplay the list, or rebuild the list. Redisplaying the list will check for deleted files and directories, and remove them from the results reported.
To download it, click here and save as find_dup_files.py.
- bulk file renamer
- A python command-line script which does bulk renames of files, allowing you to replace one string with another, and remove characters in brackets. Its quick and dirty, so it doesn't support expressions or anything, but works well enough for mp3 or video files with long names. To download it, click here and save as fixfilenames.py.
Totally useless if you don't have Python on your machine. If you have to ask, then you probably don't.
To Use:
1. Copy fixfilenames.py to c:\Windows.
2. CD to the directory with the files.
3. fixfilenames.py
4. Follow instructions. Use round brackets for "in brackets". Type "yes" for "rename".