I looked at the python FAQ these two days and found that python is more flexible than I thought. I can't try it because I don't have a practical project drill. However, Dongdong In the FAQ should have authority. Here are some of my ideas.
We know that after installing python, we can execute the python script. We can map this method to the concepts in. net. to execute an assembly in. net, you must first install. net framework. I installed ActivePython2.4, which includes pythonwin and the documentation that integrates the python manual, which is only 35 mb. The simple python2.4 is only 20 mb, it seems that it is not costly to deploy the python release package on the customer's machine.
But python also has a more important point. You can use some tools to convert the script into executable files, so that you can execute your program without installing python. Similar Tools include py2exe,: example, and Psyco.
This reminds me of some development environments based on the component technology, using the VC compiler, and then encapsulating a set of scripts on it, and writing the actual code using scripts, then convert it into C ++ code, and then use the VC compiler to generate the final executable program. Then we can use python to write some things and then convert it into C code, which can maintain program efficiency and improve code writing speed. In addition, because C can be used for extension, the python library is extremely rich, and it is more convenient in many python environments.
Python: Are you a Python or a chameleon?