---
type: link
tags: [public]
created: 2025-11-06T02:51:46.190Z
updated: 2025-11-15T20:19:56.037Z
---# 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
