Python Forum

Full Version: How to set Tab size to 4 in Python interpreter?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How to set Tab size to 4 in Python interpreter? I am using Python 3.9.5 interpreter in miniconda3 on Windows 10. Thanks.
I would advice to use better REPL like ptpython(what i use) or IPython.
Also if use cmder get nicer colors🎨,and a lot better Terminal than cmd/Powershell.
Here a quick test and i can run with Miniconda(Python 3.10) as you use.
So the default shell will give IndentationError if not manually indent,but as i never use it 's not a problem.
[Image: gPnnTo.png]