I am trying to access and use QGIS modules/class/methods from IDLE on a mac. I have had the same problem as a few other people, and browsing the forums have tried to follow the advice they have been given.
when typing:
import qgis.core
I receive the msg:
ImportError: No module named core
I have tried to set path settings as follows:
export PYTHONPATH=/Applications/QGIS.app/share/python
and
export LD_LIBRARY_PATH=/Applications/QGIS.app/lib
but I am very new to using command line for the mac and also to python.
I have now spent a couple of hours searching for others' answers that could hopefully help me, but now I am giving up and asking for advice.