How to create pid.lock via python?

MrJean1 MrJean1 at gmail.com
Mon Mar 5 15:11:30 EST 2007


May this works for your case

  <http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/498171>.

/Jean Brouwers


On Mar 5, 3:12 am, Marco <m... at waven.com> wrote:
> Hello,
>
> I write a program control a device via RS232, I hope to add some code
> to let the program canNOT be used by other people when one people
> using.
>
> Can you tell me how to create pid.lock file in python?
> Thank you!!
>
> --
> LinuX Power




More information about the Python-list mailing list