Python os.pipe() 方法

Python File(文件) 方法 Python OS 文件/目录方法


概述

os.pipe() 方法用于创建一个管道, 返回一对文件描述符(r, w) 分别为读和写。

语法

pipe()方法语法格式如下:

os.pipe()

参数