Google and Python

Paul Rubin http
Tue Sep 25 03:49:00 EDT 2007


"Hendrik van Rooyen" <mail at microcorp.co.za> writes:
> What is the advantage of passing the open file rather than just the
> fully qualified file name and having the other process open the
> file itself?

The idea is that the application is a web server.  The socket listener
accepts connections and hands them off to other processes.  That is,
the file descriptors are handles on network connections that were
opened by the remote client, not disk files that can be opened
locally.



More information about the Python-list mailing list