title: ctypyes.CDLL('abc.so') gives OSError: [WinError 193] %1 is not a valid Win32 application
body: <p>I have a <code>.so</code> file (shared object library) which I want to load in Python. For this I used the following code:</p>
  
  <pre><code>import ctypes
  
  libOP = ctypes.CDLL('abc.so')
  </code></pre>
  
  <p>But, it returns the following error:</p>
  
  <pre><code>OSError: [WinError 193] %1 is not a valid Win32 application
  </code></pre>
  
  <p>There are two problems for me:</p>
  
  <ol>
  <li>I want open this .so file and see the code inside. How can I do that? I used <code>readelf -a abc.so</code> but it didn't worked. I also tried to access it with Cygwin but failed again. </li>
  <li>How can I make my python code to read this/access this .so file ?</li>
  </ol>
  
  <p>Thanks.</p>