You can import ctypes.wintypes
only in Windows. (ctypes.wintypes
contains windows specific data types.)
Windows:
>>> import ctypes.wintypes
>>>
Linux:
>>> import ctypes.wintypes
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/ctypes/wintypes.py", line 23, in <module>
class VARIANT_BOOL(_SimpleCData):
ValueError: _type_ 'v' not supported
>>>