From 2e14d32bf279be1c3fa360f95aaf07cdeb1832f8 Mon Sep 17 00:00:00 2001 From: Prodesire Date: Sat, 2 Dec 2017 10:32:11 +0800 Subject: [PATCH] Add platform to help judge which platform we are working on --- pydu/platform.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 pydu/platform.py diff --git a/pydu/platform.py b/pydu/platform.py new file mode 100644 index 0000000..4236cb2 --- /dev/null +++ b/pydu/platform.py @@ -0,0 +1,4 @@ +import os + + +WINDOWS = os.name == 'nt'