I am using Python 2.7.10 and am having trouble trying to unindent a block of code. Surely there is some sort of shortcut, instead of having to backspace every individual line?
From the Python Shell, I opened a new file (.py) and that's where I am writing the code.
Shift + Tab does not work.
pythonfrom the terminal I get a shell in which I can run individual commands but there is certainly no support for editing a file. It's not meant for that. If you want to edit a file nicely use an IDE such as PyCharm. If you want to edit in the terminal use your preferred text editor such as vim.