Python代码中执行另一个.py文件

关于Python 脚本如何执行另外一个脚本,可使用os.system()来实现 https://blog.csdn.net/shenjin_s/article/details/79976954 简单粗暴的方式。。。python import os os.system("python filename.py") 如一个main.pyweb import os os.system("python /h
相关文章
相关标签/搜索