Reputation: 92
Hi I am working on a Programming Language. I completed all code I should just convert it into .exe file but how can I open any other extension (Like:PL.app). Can anyone help.
Thank you
Upvotes: -1
Views: 59
Reputation: 2293
If you wrote python code in a file called foobar.py, then you can run your code simply by calling
python foobar.py
at the prompt (linux/bash or windows/cmd). There is no need to convert it into an exe just for running it.
There are few scenarios where you might want to make an exe out of your python code (that's a somewhat advanced usage), for that you can use something like PyInstaller or other tools described in the Hitchhiker's Guide.
Upvotes: 1