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.7.tar.gz
.
File metadata
- Download URL: winfcntl-1.1.7.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 | 9b490fd1b7cc509e3b9f07d971b63e4e6ec42d7bba63c29a7779b79ff7936095 |
|
MD5 | c50817dfc9ebcfa42cbdce07e3abb661 |
|
BLAKE2b-256 | 0a3c7804328fdddc717d72fa9744f3646ef6b5c7b174f2572f6af58cf0c0ffbc |
File details
Details for the file winfcntl-1.1.7-py3-none-any.whl
.
File metadata
- Download URL: winfcntl-1.1.7-py3-none-any.whl
- Upload date:
- Size: 4.8 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 | d088e4073d3248adc2d1ede8bf4a086074059755de72489547b18c78e241ba9a |
|
MD5 | 3315860e85350a554a7fbea1fbe3b535 |
|
BLAKE2b-256 | 9ab00813e001ec13b0fb2f84dd650b25c6ce7961bbbe0c08a812ecb5f713fd10 |