Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
9370 | Boppan | 1 | import os |
2 | import sys |
||
3 | |||
4 | def path(*args): |
||
5 | return os.sep.join(args) |
||
6 | |||
7 | def is_win32(): |
||
8 | return True if sys.platform == "win32" else False |
||
9 | |||
10 | def is_linux(): |
||
11 | return True if sys.platform == "linux" or sys.platform == "linux2" else False |
||
12 | |||
13 | def is_osx(): |
||
14 | return True if sys.platform == "darwin" else False |
||
15 |