title: Using ctypes in Google App Engine to use Binaries?
body: <p>I was trying to do interfacing between GoLang &amp; Python. I have been a long time fan of Python and love using it. But Over Time I have udnerstood it is really bad for doing computations etc. Especially when there may be large data sets involved.</p>
  
  <p>I have started learning golang mainly because of its speed, and was thinking of using it in my Application as a library. Writing Intensive Code in GoLang and then use methods in the libraries in Python for writing Beautiful High Level Application code in Python.</p>
  
  <p>After doing the first prototype I deployed my code in GAE.</p>
  
  <p>Unfortunately I hit this</p>
  
  <pre><code>from ctypes import *
    File "/base/alloc/tmpfs/dynamic_runtimes/python27g/7679791231c143f9/python27/python27_dist/lib/python2.7/ctypes/__init__.py", line 7,
    in &lt;module&gt; from _ctypes import Union, Structure, Array
    ImportError: No module named _ctypes
  </code></pre>
  
  <p>I have read that GAE doesnt support ctypes out of the box for Python Instances. But is there a way I can circumvent this and use my Go Binaries and use them on GAE?</p>
  
  <p>I followed this for my implementation and interfacing Go with Python <a href="https://medium.com/learning-the-go-programming-language/calling-go-functions-from-other-languages-4c7d8bcc69bf" rel="nofollow noreferrer">https://medium.com/learning-the-go-programming-language/calling-go-functions-from-other-languages-4c7d8bcc69bf</a></p>