t123 <tom.lu...@gmail.com> wrote: > I was wondering if anyone has seen this problem before? > > I have a job that runs hourly. Part of the processing is to rename a > file using os.rename. The file name is the same every hour. > Sometimes the os.rename fails and the file does not get renamed. It > only happens occasionally. Most of the time it works just fine. > > Appreciate any ideas. > My crystal ball says you are using Windows and don't always close the file before you try to rename it.
-- http://mail.python.org/mailman/listinfo/python-list