one way is you can create a lock file, then when the program start you check to see if this lock file exists. -Alex Goretoy -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-list/attachments/20091214/56843a5c/attachment-0001.html>