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

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

python | Get the current working directory. python -c "import os; print(os.getcwd())"


---
**Keywords:** public
