[英]If I want to run python code that includes modules on another machine that doesn't have python installed, can I do this?
I want to have a usb stick with some of my python scripts, so that I can just take them with me and execute on any machine I am currently using.我想要一个 usb 与我的一些 python 脚本一起使用,这样我就可以随身携带它们并在我当前使用的任何机器上执行。 Is there a way to execude python scripts on a machine that doesn't have python installed?有没有办法在没有安装 python 的机器上执行 python 脚本? I don't want to edit them, just execute.我不想编辑它们,只需执行。 Thanks a lot!非常感谢!
I think for your scenario you may need to create an executable file.我认为对于您的场景,您可能需要创建一个可执行文件。 See this post here.在这里看到这篇文章。 standalone executable 独立可执行文件
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.