On Fri, Aug 22, 2014 at 1:19 PM, Seymore4Head <Seymore4Head@hotmail.invalid> wrote: > Say I have a while statement with several lines of code and I want to > add a while outside that. That means indenting everything. Is there > a global way to do that?
Depends on your text editor/IDE. In Emacs using either python-mode.el or python.el, I use C-c > to shift the selected region right, C-c < to shift it left. Other editors probably have similar commands. Skip -- https://mail.python.org/mailman/listinfo/python-list