Answer the question
In order to leave comments, you need to log in
Is it possible to run a python program on a computer without an interpreter installed?
Good day, friends!
At work, the idea came up to write a program for communicating with a PLC (programmable logic controller) using the modbus protocol. But I have no experience in developing such programs, but I have a desire to learn Python. After a little googling, I found that such a program can be implemented in Python.
Python is not a compiled language, and there is a need to supply this program to the customer. And most likely there may be problems installing the interpreter on the customer's computer. He simply doesn't need it.
Actually a question. Is it realistic to wrap the python code in some kind of .exe file so that the user can simply run this exe file and not have to load the computer with an interpreter as well?
Or do you still have to use a compiled language for this? Or somehow in conjunction with some kind of language?
You can throw slippers, because you want to understand this issue.
Answer the question
In order to leave comments, you need to log in
Actually a question. Is it realistic to wrap the python code in some kind of .exe file so that the user can simply run this exe file and not have to load the computer with an interpreter as well?
Communication with the plc goes through the driver, in the system it looks like a com port, so use any language, for example c ++ and atl (wtl)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question