今天遇到要在os.system中连续执行多条语句的情况,语句如下:. cmd1="cd /d %s" % os.path.dirname(file_path). cmd2="Python setup.py install".
確定! 回上一頁