---
type: link
tags: [public]
created: 2025-10-27T09:17:57.483Z
---# python | List files in the current directory.

**URL:** [https://docs.python.org/3/library/os.html](https://docs.python.org/3/library/os.html)

python | List files in the current directory. python -c "import os; print(os.listdir())"


---
**Keywords:** public
