[Pythonmac-SIG] (no subject)
Robert White
kranki at mac.com
Tue Nov 30 14:23:07 CET 2004
If someone could run the following program on a Darwin machine, not
MacOSX,
and email me the results, I would appreciate it. Since I run several
computers
at my home, I now have the output for MacOSX, Cygwin, Win32 and Linux.
If
anyone can email me the output for other OSes such as Solaris, Sun,
etc, I
would appreciate that too.
Thanks for your help.
Bob
#!/usr/bin/env python
#Program: testSysconfig.py - Print the sysconfig variables
import os
import sys
import distutils.sysconfig
if __name__ == '__main__':
aDict = distutils.sysconfig.get_config_vars( )
for a in aDict:
print a,'[',aDict[a],']'
More information about the Pythonmac-SIG
mailing list