<p>How do I call an external command within Python as if I'd typed it in a shell or command prompt?</p>

```
```
import os
os.system("your command")
```
```
Note that this is dangerous, since the command isn't cleaned. I leave it up to you to google for the relevant documentation on the 'os' and 'sys' modules. There are a bunch of functions (exec* and spawn*) that will do similar things.