Ajay Sunarthi
Ajay Sunarthi

Reputation: 201

Spyder Python indentation

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.

Upvotes: 20

Views: 40205

Answers (2)

A_B_Y
A_B_Y

Reputation: 472

In Spyder v5.3.3, Also, go to Source --> Fix Indentation. That worked for me.

Upvotes: 5

cpc333
cpc333

Reputation: 1583

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

Upvotes: 48

Related Questions