# \#python

**URL:** https://discuss.kakoune.com/tag/python/52.md

[Latest](https://discuss.kakoune.com/latest.md) · [Categories](https://discuss.kakoune.com/categories.md) · [Tags](https://discuss.kakoune.com/tags.md)

---

## [Creating an outline for Python files](https://discuss.kakoune.com/t/creating-an-outline-for-python-files/2624)

<div class="topic-metadata">

**Author:** [@Screwtapello](https://discuss.kakoune.com/u/Screwtapello)\
**Replies:** 0\
**Last updated:** [January 16, 2025, 1:15am UTC](https://discuss.kakoune.com/t/creating-an-outline-for-python-files/2624 "2025-01-16T01:15:09Z")

</div>

A while ago I wrote a little script that generated an outline of the Python file I was working on. I’ve been using it for a while and quite like it, so I figured I’d share it. define-command python-outline \\ -docstring …
