> For the complete documentation index, see [llms.txt](https://termux-wiki.zsxwz.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://termux-wiki.zsxwz.com/python-1.md).

# python

安装:

```
pkg install python
```

pip修改清华源：

```
vim ~/.pip/pip.conf

# 添加
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
```

简单应用:

```
# 一个简单的http服务
python -m SimpleHTTPServer
```
