You've already hit the most important difference: os.open() lets you share files between processes, while the built-in doesn't have any control of that type.

Another distinction is that fdopen() can be used to get a file object from a fd handle, which may be obtained some other way. For example stdout or stderr.

Visco Shaun wrote:
Hi

I was wondering the difference between os.fdopen()(or os.open() not
considering the difference in args) and builtin open(). Can anyone help
me?
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to