---
type: link
tags: [link]
created: 2025-11-06T02:51:46.19+00:00
updated: 2026-01-02T01:39:32.364Z
---# python | Run a system command from Python.

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

python | Run a system command from Python. python -c "import subprocess; subprocess.run(['ls', '-l'])"


---
**Keywords:** link
