作者:心平 | 来源:互联网 | 2023-05-18 17:34
Icommunicatewithanamedpipe,butIwouldliketocheckifitreallyisanamedpipeBEFOREopeni
I communicate with a named pipe, but I would like to check if it really is a named pipe BEFORE opening it.
我与一个命名管道进行通信,但我想在打开它之前检查它是否真的是命名管道。
I check in Google but there is nothing, os.path.isfile()
returns False
, and I really need to check it.
我在谷歌检查但没有任何东西,os.path.isfile()返回False,我真的需要检查它。
1 个解决方案