Hi,<div><br></div><div><div>I read your code(db.py), your problem is use both, spaces(4 space) and TAB.</div><div><br></div><div>Use only one, not possible use both.</div><div><br></div><div>I setting my text editor to change TAB to 2 spaces.</div>
<div><br></div><div>See in your code the lines 33 and 34, have TAB, you need change for spaces.</div><div><br></div><div>If you use WINDOWS, i liked the Notepad++ editor for write  Python&#39;s code to small project, for complex projects i prefer use the ECLIPSE with PyDev.</div>
</div><div><br></div><div><br><br><div class="gmail_quote">2010/11/18 Muhammad Abu Hasan <span dir="ltr">&lt;<a href="mailto:mdabuhasan@gmail.com">mdabuhasan@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Dear All,<br><br>here is my python file and error , could you please help me , how can i solve it ?<br>
<br>_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
<br></blockquote></div><br></div>