python No module named 'fcntl' - 简书
https://www.jianshu.com/p/e48c95c3a88f22.04.2020 · python No module named 'fcntl'. Juana125. 2020.04.22 01:59:05 字数 21 阅读 4,797. 新建fcntl.py文件放在python 路径下,D:\Python\Python35\Lib. def fcntl(fd, op, arg=0): return 0 def ioctl(fd, op, arg=0, mutable_flag=True): if mutable_flag: return 0 else: return "" def flock(fd, op): return def lockf(fd, operation, length=0, start=0 ...
ModuleNotFoundError: No module named 'fcntl'
https://python-forum.io/thread-31333.html05.12.2020 · Fcntl is a unix/linux interface. Python exposes that interface in the fcntl module. Windows doesn't have that interface. Everything you do in fcntl can be done in other ways in windows (probably via win32api), but that would be a port, not just some small changes. Using fcntl extensively pretty much means you are excluding windows.