Terry J. Reedy added the comment:
Questions about how to use python (or Idle) are better directed to python-list
or similar forums. In this case, you are asking how to edit a file with tabs in
Idle, which converts tabs to spaces on entry. Idle editor windows have a Format
menu with Tabify and
New submission from Justin Barker:
When I add some lines to my module code, some of the tabs that I enter convert
to spaces. This throws an inconsistency error and I can't get it to stop!
--
components: IDLE
files: test.py
messages: 211664
nosy: Justin.Barker
priority: normal
severity: