On 24 Apr, 2008, at 0:21, Christopher Barker wrote:

Hi all,

sys.platform returns "darwin" for all of the various python builds on OS-X. I"d like to know if I"m running a framework build, or fink, or macports, or whatever build -- is there a runtime way to do that?

Is looking at sys.executable the best(only?) way?

Looking at sys.prefix is better than sys.executable.

Ronald

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to