python spawn shell

Shell
python -c 'import pty;pty.spawn("/bin/bash")'
Source

Also in Shell: