file.fileno

fileno( )

Return the integer file descriptor that is used by the underlying implementation to request I/O operations from the operating system. This can be useful for other, lower level interfaces that use file descriptors, such as the fcntl module or os.read and friends. Note: File-like objects which do not have a real file descriptor should not provide this method!

 

A Django site. rendered by a django application. hosted by webfaction.