how to run terminal commands in python jupyter notebook code example Example: shell command in jupyter notebook # use ! + command example: !pwd