用例:f = os.popen("%s %s %s" % ("pkg-config", " ".join(args), mod))
popen(...)
popen(command [, mode=‘r‘ [, bufsize]]) -> pipe
Open a pipe to/from a command returning a file object.
Python知识点: os.popen
时间: 2024-10-05 09:17:32
用例:f = os.popen("%s %s %s" % ("pkg-config", " ".join(args), mod))
popen(...)
popen(command [, mode=‘r‘ [, bufsize]]) -> pipe
Open a pipe to/from a command returning a file object.
Python知识点: os.popen