I didn't feel comfortable enough to allow it for a Mac. But in this case would it not be better to use:
if not sys.platform.startswith('win')?
I didn't feel comfortable enough to allow it for a Mac. But in this case would it not be better to use:
if not sys.platform. startswith( 'win')?