Month: November 2011

Python Script for Stripping Leading Spaces and Trailing Parentheses

#!/usr/bin/python #—————————————————————————— # Name: scrub.py # Author: Jeremy Pierson # Last Modified: 11/3/11 # Description: Deletes text after ( in a text file and trims leading white # spaces before writing to a new file. #—————————————————————————— import os import sys

Posted in Python