go back to normal from python mode in command prompt code example Example: exit python terminal Ctrl+d or exit()