I have a trouble with using ctypes lib in my python script. Here is my code (found on the Internet):
if __name__ == \"__main__\": from ctypes import *
Jython doesn't yet have full support for ctypes: http://bugs.jython.org/issue1328
You can't simply take the ctypes library compiled for CPython, and plug it into Jython.