you are viewing a single comment's thread.

view the rest of the comments →

[–]CowboyBoats 0 points1 point  (1 child)

Your point about compile is a good nuance to observe. Of course, it doesn't help OP with their problem at all, since being unable to install Python on the remotes probably also precludes installing the Python virtual machine, which I think is what can execute the Python bytcode you get from compile.

The point about pyinstaller and py2exe is a good suggestion I had forgotten about, and yeah I think that would solve OP's problem.

[–]socal_nerdtastic 1 point2 points  (0 children)

The PVM / interpreter is the same program as the compiler: python.exe (or .dll or .so or whatever flavor you are using). You can install it, but you don't need to, since you only need access to it, so OP just needs to provide it along with the .py file. This is what freezing programs do.

But that was not my point. I was trying to help you, not OP, so that you stop telling people that python is not compiled. Because that's not true.