Add platform to help judge which platform we are working on

This commit is contained in:
Prodesire 2017-12-02 10:32:11 +08:00
parent fb429508a3
commit 2e14d32bf2
1 changed files with 4 additions and 0 deletions

4
pydu/platform.py Normal file
View File

@ -0,0 +1,4 @@
import os
WINDOWS = os.name == 'nt'