On 25/07/2005, at 09:56 , Thanos Tsouanas wrote: > Hello! > > Is there a way to get the --options with which python was > configured on > a system? > > Thanks in advance.
Hi Thanos, Take a look at the distutils.sysconfig module (<http:// docs.python.org/dist/module-distutils.sysconfig.html>): >>> import distutils.sysconfig >>> distutils.sysconfig.get_config_var('CONFIG_ARGS') "'--prefix=/opt/local' '--enable-shared' '--mandir=/opt/local/share/ man' '--bindir=/opt/local/bin' '--with-readline' '--enable-framework' '--enable-ipv6' '--enable-tk'" >>> Kind Regards, Mark Rowe <http://bdash.net.nz/> -- http://mail.python.org/mailman/listinfo/python-list