phihag/unicode-in-python — comment on commit 9eb09474beb2875dfc0e3c6c82c2a3303fbfd180
File: build.py line 27
By kumar303:

Thanks for the patch. This won't work on Mac OS X :( Can you change it something like this:

if sys.platform == 'darwin':
check_call(['open', './index.html'])
elif sys.platform.startswith('linux'): # linux2, etc...
check_call(['xdg-open', './index.html'])