Re: Help needed on config files

2007-01-31 Thread jvdb
Ok, with all your help and very useful hints, i managed to solve it! thanks! Now my program loops through the config file, and deletes the files older than 7 days with a specified extension. Here's my program: #this project removes old log files import os, time from ConfigParser import ConfigParse

Re: Help needed on config files

2007-01-31 Thread Larry Bates
jvdb wrote: > Hi there, > > I am quite new on python programming and need some help on solving my > problem.. > > I have to make a (python) program which deletes files from > directories. I don't think deleting, etc. is the problem. The problem > is that the directories where i have to delete the

Re: Help needed on config files

2007-01-31 Thread jvdb
Yes! That does the trick, thanks, both of you! -- http://mail.python.org/mailman/listinfo/python-list

Re: Help needed on config files

2007-01-31 Thread Daniele Varrazzo
On Jan 31, 11:04 am, "jvdb" <[EMAIL PROTECTED]> wrote: > Hi there, > > I am quite new on python programming and need some help on solving my > problem.. > > I have to make a (python) program which deletes files from > directories. I don't think deleting, etc. is the problem. The problem > is that t

Re: Help needed on config files

2007-01-31 Thread Rob Wolfe
jvdb wrote: > Hi there, > > I am quite new on python programming and need some help on solving my > problem.. > > I have to make a (python) program which deletes files from > directories. I don't think deleting, etc. is the problem. The problem > is that the directories where i have to delete them