check we are on windows

This commit is contained in:
hakril
2018-03-07 10:28:39 +01:00
parent 8840b9fdb9
commit babb743096
+5 -1
View File
@@ -1,5 +1,5 @@
"""
Windows for Python
Python for Windows
A lot of python object to help navigate windows stuff
Exported:
@@ -11,6 +11,10 @@ Exported:
current_thread : :class:`windows.winobject.CurrentThread`
"""
# check we are on windows
import sys
if sys.platform != "win32":
raise NotImplementedError("It's called PythonForWindows not PythonFor{0}".format(sys.platform.capitalize()))
from windows import winproxy
from windows import winobject