formatting - Change IDLE tab width/ indent width Python -


just minute ago opened idle start new python file. after had written function header, pressed tab (from column 0) , indented 2 spaces rather four. hasn't happened me before. how can change/ reset tab width 4 spaces?

in idle preferences, under "fonts/tabs" there should "indentation width" preference, can change tab width 4 spaces.


Comments

Popular posts from this blog

c++ - Do gcc's __float128 floating point numbers take the current rounding mode into account? -

java - the value of local variable is not used -