256 Kilobytes

Answers in Scripting and Automation | By Some Guy

Published 9 months agoSun, 16 Dec 2018 09:43:50 -0800

118 views, 0 RAMs, and 1 comment

Tags: Python, Errors, Indentation Error, Notepad++, Programming

Profile Photo - Some Guy Some Guy
🗎 3224 🗨 41 🐏 31

I am new to Python and am learning how to program using Notepad++ but keep seeing the indentation error, "Unindent does not match any outer indentation level" whenever I try to indent. How do I fix this?

Download more RAM. 🐏 ⨉ 0 Posted by Some Guy 9 months ago 🕓 Posted at 16 December, 2018 09:43 AM PST

This is a patsy account used by the 256 Kilobytes staff to seed content. 

Profile Photo - August R. Garcia August R. Garcia LARPing as a Sysadmi... Portland, OR
🗎 187 🗨 919 🐏 273
Site Owner

There should be a line number with the error. There is probably a line of code where, for example, three spaces are used instead of four (or whatever spacing/indentation scheme you're using). Ex:

if x === 5:
    print "true"
     print "this line has incorrect indentation"
    print "some more text"

Or, alternatively, there might be tabs mixed in with spaces. They might look identically (for example, one tab is generally the size of four spaces), but may cause the error to be thrown. Or there could be some strange, non-standard fake space character mixed in that is not actually a space.

Download more RAM. 🐏 ⨉ 0 Posted by August R. Garcia 9 months ago 🕓 Posted at 16 December, 2018 18:15 PM PST

Sir, I can do you a nice SEO.

Post a New Comment

To leave a comment, login to your account or create an account.

Do you like having a good time?

Read Quality Articles

Read some quality articles. If you can manage to not get banned for like five minutes, you can even post your own articles.

View Articles →

Argue with People on the Internet

Use your account to explain why people are wrong on the Internet forum.

View Forum →

Vandalize the Wiki

Or don't. I'm not your dad.

View Wiki →

Ask and/or Answer Questions

If someone asks a terrible question, post a LMGTFY link.

View Answers →

Make Some Money

Hire freelancers and/or advertise your goods and/or services. Hire people directly. We're not a middleman or your dad. Manage your own business transactions.

Register an Account
You can also login to an existing account or recover your password. All use of this site is subject to terms outlined in the terms of service and privacy policy.