美文网首页
2018-09-20

2018-09-20

作者: coder_jiang | 来源:发表于2018-09-20 11:03 被阅读0次

              python一个脚本调用另外一个脚本

    例:a.py调用b.py

    a.py 的内容: import os

    a = 'python b.py'

    os.system(a)

    b.py的内容:

    print(‘这是b脚本’)

    相关文章

      网友评论

          本文标题:2018-09-20

          本文链接:https://www.haomeiwen.com/subject/dtpgnftx.html