On Sun, Feb 26, 2012 at 10:50:27PM +0800, Leo wrote: > There is this simple python script: > http://coderstalk.blogspot.com/2010/02/create-network-interfaces-list-using.html > > Any idea how to fix it so that it runs on OSX? Thanks. Leo
That script is an excellent example of how not to do things; it makes assumptions about constant values and structure layout that may not hold true on one operating system, much less between operating systems. You are almost certainly better off using another mechanism. What interface information are you trying to obtain? -- Nicholas Riley <njri...@illinois.edu> _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG