"Kun" wrote: > I have a python-cgi file that pulls data from an sql database, i am > wondering what is the easiest way to remove all instances of > '00:00:00.00' in my date column. > > how would i write a python script to scan the entire page and delete all > instances of '00:00:00.00', would i use regular expressions?
umm. if you're using a database, why not filter out uninteresting dates either in the SQL statement, or when you're building the page ? </F> -- http://mail.python.org/mailman/listinfo/python-list