How to create an exe file in python (calculator Application)


  1. Python (Link for Tutorial- )

Before processed please visit the link – to generate the calculator application and then we will build the executable file.

The calculator app we already created and tested also needs to make it as executable file to run and test.

Type: how I create exe file

As prerequisite Run below command to install Pyinstaller
pip install pyinstaller

Go to the file location using CMD or you can directly run the file using Visual Studio Code.

Run below command to create a executable file
pyinstaller –onefile (scriptname =

Now executable or run the .exe file which we generated.

And Yes able to see the output so now expand to enlarge the size.

Now to test I am accessing my website

Yes DONE Thanks to ChatGPT for fully helping to create application (exe file)


  • Leave a Comment