1

I am using Windows 7. I have recently completed a single python script and now I want to deliver it to my friend who uses Mac. He does not want to install Python; he needs an executable file of the Python script that can be easily run on Mac. I know we can convert Python script to Mac on Mac OS. But he is far from me, so I have to convert Python script to Mac OS application on my Windows 7.

How I can do that?

11
  • That's not so easy to solve with a simple command line. You could try to install a Mac OS virtual machine, try to install python inside it, and hope that it builds a Mac executable from there. I don't think it's possible to build one from windows. Only if your target is the Windows OS itself. Commented Jul 30, 2022 at 1:25
  • @CarlHR HR can i do it online by some way > Commented Jul 30, 2022 at 1:27
  • Maybe there is a framework that lets you build an executable for other systems, but you'd probably need to include tons of other modules (just like using Unity to build a C# or Javascript application to other operating systems). Commented Jul 30, 2022 at 1:28
  • I think it's way easier to simply tell your friend to install python inside his/her machine. I don't know if there are other ways to do build a Mac executable from windows. If you didn't found any tool online, I doubt there's any at all. The reason is because you'd need all the Mac binary files in order to make it work there. Commented Jul 30, 2022 at 1:33
  • @CarlHR he do not want to install python , he is saying that he need executable file for mac ,I am worried about that Commented Jul 30, 2022 at 1:40

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.