Avatar ·

How to launch a Python script on another PC

📁 Advanced Python Topics, question, work

Hello, I started studying Python. I wondered how to start a script on another computer (both PCs on Windows) without preparing the machine (without installing Python)? All I could find is a way to create a file using py2exe.

I would like to know if there are alternative ways to distribute the script (more "correct" ones) and what are the disadvantages of this approach.

There are no (perhaps I haven't read) ways describing the transfer, maybe I just don't understand the purpose of this language?

Python can help greatly if you need to automate something by working on a "server" computer. Or web applications that also do not require Python to be installed on the end user's computer. I also understood: but you can also write a regular desktop program on it, optimi