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

# Python

#### Upgrade Shell to fully interactive

```
python -c 'import pty;pty.spawn("/bin/bash")'
```

#### HTTP Server

```
python3 -m http.server 80
python2 -m SimpleHTTPServer 80
```
