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 > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-developer _______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
