Python Forum
How to set Tab size to 4 in Python interpreter?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to set Tab size to 4 in Python interpreter?
#1
How to set Tab size to 4 in Python interpreter? I am using Python 3.9.5 interpreter in miniconda3 on Windows 10. Thanks.
Reply
#2
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]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Python code for alignment and font size 1418 0 310 Jan-14-2024, 03:56 AM
Last Post: 1418
  How to do "fixed size" (wrapping) math in Python? AlexanderWulf 13 1,852 Jul-19-2023, 04:13 PM
Last Post: deanhystad
  Mac default python interpreter Viewpoint8455 2 909 Oct-13-2022, 06:25 AM
Last Post: perfringo
  Python Interpreter ankitdixit 4 2,695 Jun-10-2022, 12:37 PM
Last Post: katy1234
Photo Visual studio code unable to color syntax on python interpreter tomtom 4 6,866 Mar-02-2022, 01:23 AM
Last Post: tomtom
Question Opening small size browser with python selenium not work, need help greenpine 0 1,613 Feb-07-2022, 11:36 AM
Last Post: greenpine
  readline.parse_and_bind() does not work in start-up script of Python interpreter zzzhhh 0 1,521 Jan-18-2022, 11:05 AM
Last Post: zzzhhh
  python interpreter won't import packages greenpy 1 1,969 Sep-11-2020, 07:47 PM
Last Post: buran
  How could i change the python interpreter path of os.system() 12019202386 2 2,552 Sep-02-2020, 06:58 AM
Last Post: DeaD_EyE
  Question re: running code in Editor (i.e. Atom) vs Python interpreter rok 3 2,419 Jun-29-2020, 09:20 PM
Last Post: bowlofred

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020