Python or chameleon?

Source: Internet
Author: User

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?

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.