How to indent code and remove indentation of code in Python IDLE

preview_player
Показать описание
In this video we will show you how to easily indent python code in IDLE, and remove indentation of python code in IDLE by using two combinations of keyboard keys:

CTRL + ] for indenting code
CTRL + [ for removing indentation
Рекомендации по теме
Комментарии
Автор

TAB key works for right indentation.
SHIF + TAB to left indentation.

(The CTR + ] or CTR + [ doesn't work anymore)

neculaifantanaru
Автор

In old versions I were removing indents with shift+tab but in python 3.6 It doesnt work, ur video helped me with that : ctrl+[ thanks alot

rezahajighasemi
Автор

Ah cool, Thanks! I'd often find myself putting a check somewhere temporarily and then removing it and having to manually reposition everything because the format method didn't work. Thanks!

theknightoftech
Автор

thanks man, ur video really helped me :)

jasons
Автор

Damn, i used to add space before every single line, thanks 🛐🛐🛐

ishant
Автор

Control + selected code, am i right???

suramaxi
Автор

once we have indentation in python script how can we come out of it??

swapnil
Автор

and the configuration of another key???

ernaldereck