What do I need to look at to see whether I\'m on Windows or Unix, etc?
You can also use sys.platform if you already have imported sys and you don't want to import another module
sys
>>> import sys >>> sys.platform 'linux2'