询问subprocess.Popen类的名称 [英] Inquiry regarding the name of subprocess.Popen class

查看:78
本文介绍了询问subprocess.Popen类的名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好。我想知道是否有人知道在子进程模块中命名

Popen类的原理。对于创建子进程的函数,Popen听起来像是一个合适的
名称,但是对象本身是一个子进程,而不是popen。似乎只需命名类Subprocess就可以更准确了,有人可以解释为什么这不是

的情况吗?


谢谢。

Hi. I wondered if anyone knew the rationale behind the naming of the
Popen class in the subprocess module. Popen sounds like the a suitable
name for a function that created a subprocess, but the object itself is
a subprocess, not a "popen". It seems that it would be more accurate to
just name the class Subprocess, can anyone explain why this is not the
case?

Thank you.

推荐答案

En Mon,2008年9月1日04:23:38 -0300,Jeremy Banks< je ****@jeremybanks.caescribió:
En Mon, 01 Sep 2008 04:23:38 -0300, Jeremy Banks <je****@jeremybanks.caescribió:

嗨。我想知道是否有人知道在子进程模块中命名

Popen类的原理。对于创建子进程的函数,Popen听起来像是一个合适的
名称,但是对象本身是一个子进程,而不是popen。似乎只需命名类Subprocess就可以更准确了,有人可以解释为什么这不是

的情况吗?
Hi. I wondered if anyone knew the rationale behind the naming of the
Popen class in the subprocess module. Popen sounds like the a suitable
name for a function that created a subprocess, but the object itself is
a subprocess, not a "popen". It seems that it would be more accurate to
just name the class Subprocess, can anyone explain why this is not the
case?



我不知道 - 但我同意,Subprocess本来就是一个更好的名字。


-

Gabriel Genellina

I have no idea - but I agree, Subprocess would have been a better name.

--
Gabriel Genellina


En Mon,2008年9月1日04:23:38 -0300,Jeremy Banks< je **** @ jeremybanks.caescribió:
En Mon, 01 Sep 2008 04:23:38 -0300, Jeremy Banks <je****@jeremybanks.caescribió:

嗨。我想知道是否有人知道在子进程模块中命名

Popen类的原理。对于创建子进程的函数,Popen听起来像是一个合适的
名称,但是对象本身是一个子进程,而不是popen。似乎只需命名类Subprocess就可以更准确了,有人可以解释为什么这不是

的情况吗?
Hi. I wondered if anyone knew the rationale behind the naming of the
Popen class in the subprocess module. Popen sounds like the a suitable
name for a function that created a subprocess, but the object itself is
a subprocess, not a "popen". It seems that it would be more accurate to
just name the class Subprocess, can anyone explain why this is not the
case?



我不知道 - 但我同意,Subprocess本来就是一个更好的名字。


-

Gabriel Genellina

I have no idea - but I agree, Subprocess would have been a better name.

--
Gabriel Genellina


9月1日上午9:23,Jeremy Banks< jer ... @ jeremybanks.cawrote:
On Sep 1, 9:23 am, Jeremy Banks <jer...@jeremybanks.cawrote:

嗨。我想知道是否有人知道在子进程模块中命名

Popen类的原理。对于创建子进程的函数,Popen听起来像是一个合适的
名称,但是对象本身是一个子进程,而不是popen。似乎只需命名类Subprocess就可以更准确了,有人可以解释为什么这不是

的情况吗?
Hi. I wondered if anyone knew the rationale behind the naming of the
Popen class in the subprocess module. Popen sounds like the a suitable
name for a function that created a subprocess, but the object itself is
a subprocess, not a "popen". It seems that it would be more accurate to
just name the class Subprocess, can anyone explain why this is not the
case?



Python类是标准Posix函数的推广,

(几乎)同名: http://opengroup.org/onlinepubs/0079...xsh/popen.html


干杯,

Nicola Musatti

The Python class is a generalization of the standard Posix function of
(almost) the same name: http://opengroup.org/onlinepubs/0079...xsh/popen.html

Cheers,
Nicola Musatti


这篇关于询问subprocess.Popen类的名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆