简体   繁体   English

如何列出python的os.system()内部列出的命令?

[英]How to list what command listed inside os.system() in python?

I am trying to list command under os.system() using help("modules os.system") but not getting any output. 我正在尝试使用help(“ modules os.system”)在os.system()下列出命令,但没有得到任何输出。

help("modules os.system") help(“模块os.system”)

有一个内置的方法dir

dir(os.system)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM