Global indent
Skip Montanaro
skip at pobox.com
Fri Aug 22 14:34:28 EDT 2014
On Fri, Aug 22, 2014 at 1:19 PM, Seymore4Head
<Seymore4Head at 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
More information about the Python-list
mailing list