Python知识点: os.popen

用例: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.

posted on 2014-07-17 16:54  lisalala  阅读(373)  评论(0编辑  收藏  举报

导航