原书出处
Python Cookbook(第3版)中文版
种行为,只需给open()提供一个可选的
closefd=False参数即可。示例如下: # Create a file object, but don't close underlying fd when done f = open(fd, 'wt', closefd=False) ... 5.18.3 讨论
在UNIX系统上,这种包装文件描述符的
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Python Cookbook(第3版)中文版/_epub-src/OEBPS/Text/part0011.xhtml
EPUB SHA-256:06e9310484dbd481a38263fd0ee26359bea9a3862a64cb4a53d4096b0f991e70