I need to be able to programmatically test whether I'm running on a PowerPC.
How can I do that?

import platform
if platform.machine() in ('ppc', 'ppc64'):
    print('running PowerPC')


Is that right?


-- 
Steve
“Cheer up,” they said, “things could be worse.” So I cheered up, and sure
enough, things got worse.

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to