os.open()返回為打開文件的描述符
f = os.open("test2.py", os.O_NONBLOCK)
print f # 結果為3
open()返回為文件對象
f = open("test.log", "wb")
print f # 結果為<open file 'test.log', mode 'wb' at 0x0000000002835030>
詳細介紹open():http://www.runoob.com/python/python-func-open.html