That was my impression, Giovanni. But when I do as suggested in your link, I get the following error:<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">

dhcp-184-245:~ dreamessence$ python<br>Python 2.5.2 (r252:60911, Feb 22 2008, 07:57:53) <br>[GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin<br>Type "help", "copyright", "credits" or "license" for more information.<br>

>>> import qgis.core<br>Traceback (most recent call last):<br>  File "<stdin>", line 1, in <module><br>ImportError: dlopen(/Applications/qgis1.0.0.app/Contents/MacOS/share/qgis/python/qgis/core.so, 2): Library not loaded: @executable_path/lib/libqgis_core.1.0.dylib<br>

  Referenced from: /Applications/qgis1.0.0.app/Contents/MacOS/share/qgis/python/qgis/core.so<br>  Reason: image not found<br>>>> <br></blockquote><br>Any suggestion why this happens?<br><br>Thanks a bunch,<br><br>

]d[<br><br><div class="gmail_quote">On Thu, Nov 5, 2009 at 4:53 PM, G. Allegri <span dir="ltr"><<a href="mailto:giohappy@gmail.com">giohappy@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div class="im">> I believe the Python features of Qgis are supposed to be used from within Qgis, either in plugins or the builtin python console.  It >certainly is compiled that way, even if it is supposed to be possible.<br>


<br>
</div>That's not true. If you correctly setup the environment (path to qgis<br>
libraries, python modules, etc.) you can use qgis functionalities<br>
within python without starting up qgis itself.<br>
Look at here: <a href="http://desktopgisbook.com/Creating_a_Standalone_GIS_Application_1" target="_blank">http://desktopgisbook.com/Creating_a_Standalone_GIS_Application_1</a><br>
<br>
bye,<br>
giovanni<br>
</blockquote></div><br><br clear="all"><br>-- <br>============================================================<br>Daniel Arribas-Bel<br>Url: <a href="http://darribas.org">darribas.org</a><br>Mail: <a href="mailto:darribas@unizar.es">darribas@unizar.es</a><br>

<br>Department of Economic Analysis<br>Universidad de Zaragoza (<a href="http://www.unizar.es">www.unizar.es</a>)<br><br>GeoDa Center for Geospatial Analysis and Computation (<a href="http://geodacenter.asu.edu">geodacenter.asu.edu</a>)<br>

Arizona State University (USA)<br>============================================================<br><br>