Python-Pygame Help

This is the place for queries that don't fit in any of the other categories.

Python-Pygame Help

Postby zBrianHD » Tue Mar 12, 2013 12:58 am

Here's a video on me sort of explaining the error i'm getting ...
hope you can help! thanks! :)
Posts: 1
Joined: Tue Mar 12, 2013 12:39 am

Re: Python-Pygame Help

Postby metulburr » Tue Mar 12, 2013 2:37 am

This title is misleading. This has nothing to do with pygame, as it is a python indentation error. Also, I cant believe you made a youtube video for just a syntax error.

Ok first of all, get a different IDE, or run it through terminal, whatever to get the line number of the error.

Assuming you did indent the line that is getting the error, I am guessing you have spaces and tabs mixed in your code. Which you can get a lot if you copy and paste other peoples code, while writing in your own. OR you can get a lot of if you yourself mix tabs and spaces. Which is why you should always stick to one or the other, not both. But anyways most IDE's have an option to convert selected text to and from tab/spaces, which would fix this error (Assuming i have the correct diagnosis)

But if you copy the code here (in code tags) we can view and see whether this is true.
we will be moving to on October 1 2016
more details here
User avatar
Posts: 2244
Joined: Thu Feb 07, 2013 4:47 pm
Location: Elmira, NY

Return to General Coding Help

Who is online

Users browsing this forum: Google [Bot] and 12 guests