# 什麼是Python

想知道什麼是Python，最簡單的方法就是前往維基百科做個瞭解：

{% embed url="<https://zh.wikipedia.org/wiki/Python>" %}

而Python的所有資源，也可以在python.org中找到：

{% embed url="<https://python.org>" %}

Python眾多程式語言中的一種，它是一種直譯式的程式語言，也是一種膠合語言。屬於直譯式的原因是，它的程式在執行時是一行接著一行的，也就是說，系統會先翻譯一行執行它，如果順利執行之後，再翻譯下一行，再執行之。

在我們學習過的計算機概論中有告訴我們，直譯式的程式語言好處就是除錯容易，所以對於初學者來說就比較好學，因為我們輸入一行按下Enter之後立即會加以執行，有任何錯誤就會立刻告訴我們，讓我們可以立即知道錯誤的地方在哪裡，而且可以馬上修正。

至於叫做膠合語言的原因是，此程式語言原先設計的目的是為了協助程式語言師用來管理電腦系統，可以很容易地整合系統中所有的程式、以及設定。用現成的材料，很快地完成程式設計師想要完成的工作。

由於Python語言的使用人口眾多，很多熱心人士不斷地貢獻許多有用的模組讓現有的程式專案可以輕易地引入並直接使用，使得這個程式語言愈來愈受到大家的重視，近年來一躍而成為最受歡迎程式語言的前三名。（另外幾個前三名的常客為C/C++, Java）


---

# 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://nkust.gitbook.io/python/master.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.
