Spyder Python indentation

独自空忆成欢 提交于 2020-01-23 05:22:56

问题


I am using spyder IDE for python coding. I copied the code from some source,it works fine. But when I make edits in it indentation error occurs. There is always some mistake in the alignment of my edit and the other part of code. Code is quite large I can't re indent it.


回答1:


In Spyder v3.0.0, go to Source --> Fix Indentation. That worked for me.



来源:https://stackoverflow.com/questions/26780925/spyder-python-indentation

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!