且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何从另一个python脚本执行python脚本?

更新时间:2023-01-08 17:35:30

请原谅我,如果这看起来太基础了,但没有完整的代码或输出来检查我在伸展,你是否导入了os?例如,如果test.py包含
Forgive me if this seems too elementary, but without full code or output to examine I am stretching, did you import os? For example if test.py contains
展开 | 选择 | Wrap | 行号



如果这看起来过于简单,请原谅我但没有完整的代码或输出来检查我伸展,你导入操作系统?例如,如果test.py包含
Forgive me if this seems too elementary, but without full code or output to examine I am stretching, did you import os? For example if test.py contains
展开 | 选择 | Wrap | 行号



如果这看起来过于简单,请原谅我但没有完整的代码或输出来检查我伸展,你导入操作系统?例如,如果test.py包含
Forgive me if this seems too elementary, but without full code or output to examine I am stretching, did you import os? For example if test.py contains
展开 | 选择 | Wrap | 行号