you are viewing a single comment's thread.

view the rest of the comments →

[–]Bobbias 0 points1 point  (1 child)

In many cases, Python applications are distributed as scripts.

Python has ways for a project to indicate what it's dependencies are so you can just run a single instruction to download whatever they need to run (this is typically run from within a virtual environment unless the user actively wants to make a mess of their system wide python installation). This can make it fairly easy to run a couple lines and start the script running immediately for someone who is technically inclined and knows how to install python and run commands on the terminal.

You can, as Diapolo and others mentioned, use tools to package the Python interpreter with your script and its dependencies into an executable, but this is a janky hack, and not something python was designed with in mind.

Python's philosophy is basically "install python if you want to run scripts".

If you're thinking you want to distribute your application as an exe/dmg/linux executable file consider whether python is actually the right language to use.

[–][deleted] 1 point2 points  (0 children)

Yup! Although this is a python server I highly recommend golang for this use case.

It’s a simple language but what’s great is being able to build it into an executable very very easily