fcntl and FCNTL

Peter Hansen peter at engcorp.com
Sat Oct 30 09:12:53 EDT 2004


Omid Fatemi wrote:
> I followed discussion in the group about this problem:
> 
> ImportError: No module named fcntl
> 
> I found out there are two modules:
> FCNTL
> fcntl
> the first one is obsolete and shouldn't be used.
> But the second one is usable.
> 
> Unfortunately, there is no fcntl in my python installation (Python
> 2.3.3, I got it from python site for Windows). There is FCNTL.py which
> is just a warning message and some imports.
> 
> Am I missing some files here. How could I have access to fcntl module.

 From the docs in http://docs.python.org/lib/module-fcntl.html

"""Availability: Unix."""

I don't know if there's an alternative.  Presumably the archives
for the list would answer this clearly, since as you say others
have asked the question before.

-Peter



More information about the Python-list mailing list