Possible Duplicate:
How can I subtract a day from a python date?
I have a set of files that I'm saving by date, year_month_day.txt format. I need to open the previous day's text file for some processing. How do I find the previous day's date in python?