Test if Script Already Running

Erik python at lucidity.plus.com
Tue Apr 18 20:47:12 EDT 2017


On 19/04/17 01:31, Matt wrote:
> In perl I did it with this at the start of every script:
>
>     use Fcntl ':flock';
[snip]
> How can I do something like this in Python?

 >>> import fcntl
 >>> help(fcntl.flock)

E.


More information about the Python-list mailing list