A fcntl solution for Windows Operating System
Project description
A fcntl solution for Windows Operating System created to handle ModuleNotFoundError issues. This package replicates fcntl functionality for Windows, addressing compatibility issues where Unix-specific modules are required but not available.
How to Use
This package can be used as a replacement for fcntl in Python modules that need cross-platform file control. Import winfcntl
when running on Windows and fcntl
on Unix-based systems.
Usage for Library Developers
Library developers can check the operating system using os.name
or platform.system()
to decide whether to import winfcntl
(for Windows) or fcntl
(for Unix-based systems). The function names and interfaces are designed to be compatible with fcntl
.
Changelog
Version 1.0.1
- Fixed a small mistake disabling other programs from using the Fcntl class.
Version 1.0.0
- Initial release.
Acknowledgments
Thank you to Kiamehr Eskandari for developing this package.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file winfcntl-1.1.9.tar.gz
.
File metadata
- Download URL: winfcntl-1.1.9.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23971ceeafee9872227cbccdeaa9d6c5836130c1c8aa8445ba54b273adee98b1 |
|
MD5 | c641e87f0c5e2516ae1597375b934719 |
|
BLAKE2b-256 | c78aa801f742c0887bcc4ff199d769c4ca562f1f940b6b61d8084d613bef225b |
File details
Details for the file winfcntl-1.1.9-py3-none-any.whl
.
File metadata
- Download URL: winfcntl-1.1.9-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | efa93c1ef8d1b804be2a6ec307ed2f480d1b7fc8367771e622e1e1d3251b76ff |
|
MD5 | f81f785d2c305b6fc795ed1d5a2fd367 |
|
BLAKE2b-256 | 98cbf79055ee11e5adf4e12164bb1c445270cfb87c188b48681b79cf20b8f662 |