How we do if find that python that we are using is compiled with the -- enable-shared option. There is can actually be done using .... distutils.sysconfig module but this modules is ported only with python- devel but not with standard python install. Is there another way apart from checking the pyconfig.h file. Thanks in advance : )~