Alex> I'm looking for a simple method to delete a folder after 72
    Alex> "Business hours" (saturday/sunday doesnt count) since its
    Alex> creation. Note that This is on a linux system and I realize that
    Alex> it will be the last modified time. These files wont be modified
    Alex> since their creation.

    Alex> Im very confused on how to work with the number easily.

Take a look at the dateutil module.  Its relativedelta object has some
weekday sense:

    http://labix.org/python-dateutil

Skip
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to