[Qgis-developer] python error

Richard Duivenvoorde rdmailings at duif.net
Thu Nov 18 15:00:29 EST 2010


Hi,

this has probably nothing to do with qgis :-)

python is all about 'indentation': your code should have the right
structure: eg the lines after an 'if' should be indented the right way.
Have a look at your indents, are there maybe tabs and space mixed?

http://diveintopython.org/getting_to_know_python/indenting_code.html
http://docs.python.org/reference/lexical_analysis.html#indentation

Regards,

Richard Duivenvoorde

Muhammad Abu Hasan wrote:
> Dear All,
> 
> here is my python file and error , could you please help me , how can i
> solve it ?
> 
> 
> 
> ------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer



More information about the Qgis-developer mailing list