portalocker.portalocker module

portalocker.portalocker.lock(file_: IO, flags: portalocker.constants.LockFlags)[source]
portalocker.portalocker.unlock(file_: IO)[source]