Python: Difference between revisions
No edit summary |
|||
Line 42: | Line 42: | ||
<syntaxhighlight lang="python"> | <syntaxhighlight lang="python"> | ||
import subprocess | import subprocess | ||
subprocess.run(["ls", "-l"]) | subprocess.run(["ls", "-l"], cwd="/") | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==Libraries== | ==Libraries== | ||
===Numpy=== | ===Numpy=== |