# Python 基础

#### Python 的特点 <a href="#python-de-te-dian" id="python-de-te-dian"></a>

* 脚本语言 (Scripting Language)
* Dynamic typing
* Procedure-Oriented
* Object-Oriented
* Functional

#### Python 基本数据结构及操作 <a href="#python-ji-ben-shu-ju-jie-gou-ji-cao-zuo" id="python-ji-ben-shu-ju-jie-gou-ji-cao-zuo"></a>

略

#### Python Class <a href="#python-class" id="python-class"></a>

python 的 class 和 instance 背后都基于可伸缩的字典。

#### Python 应用举例： XML Processing <a href="#python-ying-yong-ju-li-xmlprocessing" id="python-ying-yong-ju-li-xmlprocessing"></a>

略

**参考**

* [Stanford-CS107-lecture-24](https://www.youtube.com/watch?v=_9XAlLofYwU\&list=PL9D558D49CA734A02\&index=24)
* [Stanford-CS107-lecture-25](https://www.youtube.com/watch?v=V-5DCBQdErM\&index=25\&list=PL9D558D49CA734A02)
* [Stanford-CS107-lecture-26](https://www.youtube.com/watch?v=PrnRTwCaWz8\&list=PL9D558D49CA734A02\&index=26)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://zhenghe.gitbook.io/open-courses/stanford-cs107/di-er-shi-si-er-shi-liu-ke-python-ji-chu.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
