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?

You could use regular expressions or you might want to take a look at
Beautiful Soup http://www.crummy.com/software/BeautifulSoup
to parse the page and replace the offending text.

-Larry Bates
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to