Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python lockfile

import lockfile
with lockfile.LockFile('/tmp/example.lock'):
  print('Locked')
print('Unlocked')
Source by github.com #
 
PREVIOUS NEXT
Tagged: #python #lockfile
ADD COMMENT
Topic
Name
5+3 =