Skip to content Skip to sidebar Skip to footer

Is There A Way To Burn A Python Program To A Disc?

I made this cool geometry, and algebra problem solver, and I wanted to burn it to a c for my friends, so they can run it almost like they would if it was a game? Any ideas on how

Solution 1:

One way could be to convert your program to .exe and then burn it. There are many libraries available to convert a python program to an .exe,like:

Solution 2:

Well, python is an interpreted language, it needs an "interpreter" (the python program) to read the .py file and run it. Helpfully, there are many programs (like py2exe) that can bundle up the python interpreter and your python files into one single .exe package. (For you to put on a cd and share with anyone you want!)

Solution 3:

As a practical matter, py2exe is probably the way to go for most normal use cases.

But if you want to distribute your application as pure python, you can do so by including a portable distribution of python (and all necessary libaries) along with your application.

Post a Comment for "Is There A Way To Burn A Python Program To A Disc?"