fcntl

Stdlib — OS/FilePython 2.0+Intermediate

File control and I/O control on Unix file descriptors

Quick Info

Documentation
Official Docs
Python Version
2.0+
Dependencies
None — Python Standard Library
Install
Included with Python

Learn by Difficulty

Quick Example

python
import fcntl

print(f"Module: fcntl")
print(f"Contents: {dir(fcntl)[:10]}")

The fcntl module is part of Python's standard library. File control and I/O control on Unix file descriptors.

Try in Playground

Tags

stdlibfile-iosystem