IndentationError: unindent does not match any outer indentation level

Time:2021-9-21

Main.py reports an error after running

Error reason: the code is not aligned up and down (including comments) due to indentation

 

Solution

Return the error reporting document main.py, line 11 and backspace (indent one tab key by default, i.e. 4 spaces)

 

 

Recommended Today

Supervisor

Supervisor [note] Supervisor – H view supervisor command help Supervisorctl – H view supervisorctl command help Supervisorctl help view the action command of supervisorctl Supervisorctl help any action to view the use of this action 1. Introduction Supervisor is a process control system. Generally speaking, it can monitor your process. If the process exits abnormally, […]