Archive for July 5th, 2007

Utility Mill Gets Imports

Thursday, July 5th, 2007


You now have access to the following libraries when you write a Utility Mill utility:
re, datetime, time, calendar, difflib, math, urllib, and random
Thus here’s the code for the Regex Evaluator utility:

regex=re.compile(REGEX)
matches=regex.finditer(TEXT)
for match in matches:
print ‘Found “%s” at position %s’ % (match.group(),match.start())


I also just made a text diff utility with the newly […]