How can I pretty print pip output for better readability? or What's the best way to pretty print pip

18 Replies, 919 Views

Ever tried `ptpython`? It’s a REPL, but you can use it to pretty print pip output interactively.

```
pip install ptpython
ptpython
>>> import pip; print(pip.get_installed_distributions())
```
Kinda niche, but fun if you’re already in a REPL mood.

Messages In This Thread



Users browsing this thread: 1 Guest(s)