Jython 2.7.0a2+ (default:e4afcd777d1b+, Jul 1 2012, 12:22:26)
[Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.)] on java1.6.0_33
Type "help", "copyright", "credits" or "license" for more information.
>>> import fcntl
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named fcntl
>>>
inst@local /mnt/md3/cache/inst/jython2 $ python
Python 2.7.3 (default, May 5 2012, 10:54:18)
[GCC 4.4.7] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import fcntl
>>> dir(fcntl)
['DN_ACCESS', 'DN_ATTRIB', 'DN_CREATE', 'DN_DELETE', 'DN_MODIFY', 'DN_MULTISHOT', 'DN_RENAME', 'FASYNC', 'FD_CLOEXEC', 'F_DUPFD', 'F_EXLCK', 'F_GETFD', 'F_GETFL', 'F_GETLEASE', 'F_GETLK', 'F_GETLK64', 'F_GETOWN', 'F_GETSIG', 'F_NOTIFY', 'F_RDLCK', 'F_SETFD', 'F_SETFL', 'F_SETLEASE', 'F_SETLK', 'F_SETLK64', 'F_SETLKW', 'F_SETLKW64', 'F_SETOWN', 'F_SETSIG', 'F_SHLCK', 'F_UNLCK', 'F_WRLCK', 'I_ATMARK', 'I_CANPUT', 'I_CKBAND', 'I_FDINSERT', 'I_FIND', 'I_FLUSH', 'I_FLUSHBAND', 'I_GETBAND', 'I_GETCLTIME', 'I_GETSIG', 'I_GRDOPT', 'I_GWROPT', 'I_LINK', 'I_LIST', 'I_LOOK', 'I_NREAD', 'I_PEEK', 'I_PLINK', 'I_POP', 'I_PUNLINK', 'I_PUSH', 'I_RECVFD', 'I_SENDFD', 'I_SETCLTIME', 'I_SETSIG', 'I_SRDOPT', 'I_STR', 'I_SWROPT', 'I_UNLINK', 'LOCK_EX', 'LOCK_MAND', 'LOCK_NB', 'LOCK_READ', 'LOCK_RW', 'LOCK_SH', 'LOCK_UN', 'LOCK_WRITE', '__doc__', '__file__', '__name__', '__package__', 'fcntl', 'flock', 'ioctl', 'lockf'] |