---
type: link
tags: [python]
created: 2025-12-26T13:58:31.993+00:00
updated: 2026-01-02T01:39:32.364Z
---# 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:** python
