6 Apr
2004
6 Apr
'04
8:46 a.m.
Andreas Jung <andreas@andreas-jung.com> writes:
The simplest solution is to keep the counter as file in the filesystem. Access to the file must be synchronized through a lock object (-> Python docs). Just a few lines of Python code.
It has to work in windows too, so it's a bit more involved but should be manageable with win32all. I don't particularely like that I have another piece of data to backup though.