Create python exe file on mac for windows

broken image
broken image

But not everyone has python installed, and it won’t make sense to ask them to install a Python code editor or IDE, so how to run a Python program without its compiler ? Now that the program is up and running, it is time to send it over to some friends and colleagues. How to deliver the program as an executable ? The program works well, we can even test it out: Height = float(input(‘Enter your height in meters: ‘)) Weight = float(input(‘Enter your weight in kg: ‘)) The program receives as input the user’s height and weight and prints out the BMI according to the formula Weight / Height : In this article, we shall consider a fairly simple Python project for calculating the body mass index or BMI. To use one of these modules, you must of course have previously installed Python on your machine. It is possible to perform this conversion with different modules created for this purpose. In this way, they can be used without having to install Python and are thus made available to as many people as possible. Applications or scripts developed with the Python language can be converted into executables for the Windows operating system.