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.