View Single Post
Old 01-17-2011, 04:35 PM   #797
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 74,123
Karma: 315558334
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
Quote:
Originally Posted by hans213 View Post
i got everything installed and it worked for a while but since i've typed a new key in the source code i get every singele time the error: incorrect padding what schould i do?am i the only one with this error?
Python is extremely picky about the amount lines are indented. You need to add or remove spaces at the start of the line complained about to make it match the other lines. (Not necessarily the same indent as the line before it though - Python uses indents to mark sections like C uses {}, so the conditionally executed statements of an if statement need to be one 'indent amount' in. Usually four space multiples in my experience.
pdurrant is offline   Reply With Quote