Python–TabError: inconsistent use of tabs and spaces in indentation

Detailed map traversal, teach you to master the complex gremlin query debugging method>>>

Python — error taberror: inconsistent use of tabs and spaces in indentation

blog description

The information involved in this article comes from Internet collation and personal summary, which means personal learning and experience summary. If there is any infringement, please contact me to delete it. Thank you


When running the flash framework, an error is reported. I can’t see whether it’s alive or dead. I see the information that it’s caused by the mixed use of the tab key and four space keys. Only one can solve this problem


The reason for this problem is that I edited the Python code on the Internet, and then I couldn’t see it in the online editor. I found the error for a long time, which was literally meaning. I selected all the code into pychar, and found that the code format was in disorder. I used the shortcut key to sort out the code Alt + Command + L, and the problem was solved

thank you

Omnipotent network

And industrious self

Similar Posts: