Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想xyz通过给出abcin的绝对路径从 python 脚本执行 abc python 脚本xyz。例如。如果我做
xyz
abc
import main main.someFunction
如果我这样做,它会被执行但在同一个地方
"D/karan/workspace/python/main".someFunction
它不起作用..请建议我该怎么做。任何帮助表示赞赏。谢谢