Я обычно просто использую это:
import os
if os.name == 'nt':
pass # Windows
else:
pass # other (unix)
edit:
Надеюсь, в ответ на ваши комментарии:
from time import strftime
import os
if os.name == 'nt': # Windows
basePath = 'C:\\working\\'
else:
basePath = '/working/'
Fn = '%sSetup%s.csv' % ( basePath, strftime( '%y%m%d' ) )