title: Python NameError: name 'ctypes' is not defined
body: <p>I am trying to call a function from a custom .dll file. 
  But when I try to load my library SDK.dll, i get the following error. I am following the indications found here: <a href="https://stackoverflow.com/questions/5253854/python-import-dll">Python import dll</a></p>
  
  <p>Does anyone know what the problem is? I only found references of this problem for MAC enviroments.</p>
  
  <pre><code>&gt;&gt;&gt; from ctypes import *
  &gt;&gt;&gt; lib = ctypes.WinDLL('C:/Develop/test/SDK.dll')
  
  Traceback (most recent call last):
    File "&lt;pyshell#19&gt;", line 1, in &lt;module&gt;
      lib = ctypes.WinDLL('C:/Develop/test/SDK.dll')
  NameError: name 'ctypes' is not defined
  </code></pre>