简体   繁体   English

如何使Python程序在Mac上运行?

[英]How to make Python program run on Mac?

I'm trying to find out how to make Python program work on Mac computer. 我试图找出如何使Python程序在Mac计算机上工作。 I've built a program using many Python modules like lxml , selenium etc. ( PhantomJS.exe ) and I've created an exe file using Py2Exe which works correctly but now, I've realised that it should be able to be executed on Mac . 我已经使用许多Python模块(例如lxmlselenium等( PhantomJS.exe ))构建了一个程序,并使用Py2Exe创建了一个exe文件,该文件可以正常运行,但是现在,我意识到它应该可以在Mac Is there a simple way to do that? 有没有简单的方法可以做到这一点?

有py2exe的mac替代品,称为py2app

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM