Steve Dower added the comment:
In Python 3, this passes a wchar_t* string, but printf('%s') expects a char*
string.
You may want to start by looking at the tutorial at
https://docs.python.org/3/tutorial/index.html to get a feel for what builtins
are available. Using ctypes is fairly advanced functionality that very rarely
needs to be used.
----------
nosy: +steve.dower
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue29131>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com