@alfrednewman Hm, your version doesn't run here under Python 3.4, I get a runtime error:
> p_input = create_string_buffer(token, 100) > > File "/usr/lib/python3.4/ctypes/__init__.py", line 63, in create_string_buffer > raise TypeError(init) > > TypeError: robert It seems the byte representation of the string (b"...") is needed. @andrea Thanks, will have a look at it.
