[docs] Embedding python in C

Stefan Bollmann stefan.bollmann at rwth-aachen.de
Sun Jan 25 15:16:11 CET 2015


Hi @all,

because of a question on stackoverflow (http://stackoverflow.com/questions/28128824/install-python-3-standard-library-on-raspberry-pi/28137230#28137230), I wondered about a difference between 2.7 and 3.2 Python C API. In https://docs.python.org/3.2/extending/embedding.html <https://docs.python.org/3.2/extending/embedding.html> there is an example in 5.1 to include Python code in c with a high level interface. However, there are problems regarding characters (wchar_t * vs. char *). Right now I do not have the solution (see stackoverflow post and links in my answer there), but there are differences between 2.7 and 3.2 API that are confusing.

Kind regards
Stefan Bollmann


— 

Stefan Bollmann
stefan.bollmann at rwth-aachen.de


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20150125/1246ee84/attachment.html>


More information about the docs mailing list