I'm trying to find out how to make Python program work on Mac computer. 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. Is there a simple way to do that?
1 Answer
There is a mac alternative of py2exe, called py2app.
1 Comment
Colonel Thirty Two
@Milano Get them to install the Mac version of PhantomJS
.exefiles. You'll likely need the source files that were used to create the.exefile, which you can simply run with the built-in Python interpreter on the command line..exeisn't going to run on your Mac. You need the.pyfiles that were used to create it - simply runpython main.py, wheremain.pyis the file containing the entry point (__main__?) to your program.