r/pythontips • u/KrispyBentley • Feb 12 '22
Python3_Specific How to run your first program?!?
So, I just finished coding my first program ( a notepad) in python using pycharm. But I’m confused on how to use it. Everytime I save it, it’s just the script when run it. How do I finalize it and make I useable as if it was a note pad I downloaded.
49
Upvotes
17
6
u/mateo8421 Feb 12 '22
I feel like this post is like a virgin asking which kindergarten to send her child into...
5
5
-11
26
u/ciezer Feb 12 '22
Python is not a language that compiles into an executable, it's an interpreted language which means it's always going to be a script.
There is the built in zipapp module that puts you're script into a zip file to run and transport multi-file programs a bit easier but it still needs python to be installed on every computer that will use it.
There are third party programs to freeze your script into an executable, but are usually going to be slower than programming in a compiled language since the freezing process usually bakes in the python interrupter.
If you want to program in python and make the program usable for others other than these, you'll most likely be making a web app that runs in a browser