Python 2.7.16rc1 documentation

Python 2.7.16rc1 documentation

https://docs.python.org/2/index.html

What’s new in Python 2.7?

Tutorial
start here

Library Reference
keep this under your pillow

Language Reference
describes syntax and language elements

Python Setup and Usage
how to use Python on different platforms

Python HOWTOs
in-depth documents on specific topics

Installing Python Modules
installing from the Python Package Index & other sources

Distributing Python Modules
publishing modules for installation by others

Extending and Embedding
tutorial for C/C++ programmers

Python/C API
reference for C/C++ programmers

FAQs
frequently asked questions (with answers!)

documentation [,dɒkjʊmen'teɪʃ(ə)n]:n. 文件, 证明文件, 史实, 文件编制
pillow ['pɪləʊ]:n. 枕头 vt. 垫,枕于...,使...靠在 vi. 枕着头,靠在枕上
syntax ['sɪntæks]:n. 语法,句法,有秩序的排列

Extending and Embedding the Python Interpreter

https://docs.python.org/2/extending/index.html

This document describes how to write modules in C or C++ to extend the Python interpreter with new modules. Those modules can not only define new functions but also new object types and their methods. The document also describes how to embed the Python interpreter in another application, for use as an extension language. Finally, it shows how to compile and link extension modules so that they can be loaded dynamically (at run time) into the interpreter, if the underlying operating system supports this feature.

This document assumes basic knowledge about Python. For an informal introduction to the language, see The Python Tutorial. The Python Language Reference gives a more formal definition of the language. The Python Standard Library documents the existing object types, functions and modules (both built-in and written in Python) that give the language its wide application range.

For a detailed description of the whole Python/C API, see the separate Python/C API Reference Manual.

This guide only covers the basic tools for creating extensions provided as part of this version of CPython. Third party tools may offer simpler alternatives. Refer to the binary extensions section in the Python Packaging User Guide for more information.

Python/C API Reference Manual

https://docs.python.org/2/c-api/index.html

This manual documents the API used by C and C++ programmers who want to write extension modules or embed Python. It is a companion to Extending and Embedding the Python Interpreter, which describes the general principles of extension writing but does not document the API functions in detail.

informal [ɪn'fɔːm(ə)l]:adj. 非正式的,不拘礼节的,随便的,通俗的,日常使用的
companion [kəm'pænjən]:n. 同伴,朋友,指南,手册 vt. 陪伴

猜你喜欢

转载自blog.csdn.net/chengyq116/article/details/87689940