Changing indentation settings in the Spyder editor for Python

Viewed 45590

I am using the Spyder editor for Python. I need to change the indentation setting (e.g., let "tab" mean "4 spaces").

How do I accomplish this?

3 Answers

go to >>>Tools in the menu bar

Preferences >>> Editor >>> Advanced settings >>> Indentation characters

set indentation characters: to "4 spaces"

hurray! Mission accomplished

On Mac w/ Spyder 4.0.1, it's

Python -> Preference -> Editor -> Source Code (tab) -> Indentation characters

Related