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.
python
from 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. – Keeling.py
script files. Either way, the point remains that if you look at the options in the menu (Format -> Dedent Region), in common with virtually every other program, it lists the shortcuts for you there. Note also that I do not get rep for edits; that only applies to users with <2k, and that you need to add@username
for others to get notifications of your comments. – Medicate