On 22/08/2014 21:20, Chris Angelico wrote:
On Sat, Aug 23, 2014 at 5:46 AM, Seymore4Head
<Seymore4Head@hotmail.invalid> wrote:
On Fri, 22 Aug 2014 14:19:29 -0400, Seymore4Head
<Seymore4Head@Hotmail.invalid> wrote:

Is there a way to indent everything again?

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?

Ok.....so the answer is no using IDLE (Python GUI)

This is very much an editor question, so you ought to have said *right
at the beginning* that you're using Idle's editor.

Try selecting a bunch of text and hitting Tab.

ChrisA


There are also indent and dedent options on the format menu. Using default settings on Windows 8.1, python 3.4.1 these are CTRL+] and CTRL+[ respectively.

--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to