title: Making an executable python program with Snap7 for PLCs
body: <p>I've been trying to make a program in python using <a href="http://snap7.sourceforge.net/" rel="nofollow">Snap7</a>, but now I want it to make an executable of it. I used py2exe to make the *.exe file and run it on Windows without python installed. However, everytime I try to open the application, the cmd window show me this error. </p>
  
  <pre><code>Traceback (most recent call last):
    File "Sniffer.py", line 22, in &lt;module&gt;
    File "snap7\client.pyc", line 34, in __init__
    File "snap7\common.pyc", line 54, in load_library
    File "snap7\common.pyc", line 47, in __init__
    File "ctypes\__init__.pyc", line 440, in LoadLibrary
    File "ctypes\__init__.pyc", line 362, in __init__
  WindowsError: [Error 193] %1 is not a valid Win32 application
  </code></pre>
  
  <p>What should I do?</p>