How to operate Python code through dynamic Scripting

Source: Internet
Author: User

Generally, we can skip building projects in computer language applications. Only Python code of the Build core has functions. The following describes the relevant content, I hope you will gain some benefits after reading the following articles.

Python is a dynamic scripting language. I will not discuss more details,

The source code link is here: After downloading Python 2.5, decompress it directly and you can see the following directory structure:

In Unix/Linux/Cywin, you can directly type:

 
 
  1. ./Configure
  2. Make install

If you use VC Build for Windows, you can directly open the corresponding Solution under PCBuild/PCBuild8 to Build. If you Build directly, there will be many errors and some adjustments are necessary:

Not all projects can be built immediately. Because some projects are dependent on third-party libraries, you can skip building these projects directly, but only Build the core Python code. You can use Exclude in Configuration Manager. The required Project is:

 
 
  1. Make_buildinfo, make_versioninfo, python, pythoncore

One PythoncoreProject file is missing. You need to manually set Modules \ _ typesmodule. c is added to the project, and the Build will be written here today. In the next article, I will introduce the Python execution process by tracking and executing the simplest Python code.

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.