Shells are computer user interfaces that typically refer to a text-only or primarily text-based command prompt.
The above screenshot shows the bash shell with an active Python virtual
fullstackpython within the macOS Terminal application.
Give your Python program a shell with the cmd module shows a short code example of how to use cmd to build a simple shell.
Upgrade your Python skills by reading Real Python's awesome programming email newsletter.