This video gives a walk through explanation/tutorial for how to write a python module extension using C programming language.
For many reasons you may wish to write part of your python code in C, including performance or to incorporate your C code to python by wrapping your functions.
Extending Python with C allows you to call you C code from python!
Covered is the general signature of a python extension function and how to parse the functions parameters and make it usable in C. This is because all python data are objects such that before the can be used in C or C++ they must first be convert to an understandable data type (a C data type).
Also, the video discusses how to raise a python exception, create a python exception object, and how to own references to created objects.
Please remember to rate this video and subscribe
Auf dieser Seite können Sie das Online-Video Extending Python with C - Part 1 mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer SolidusCode 26 September 2012 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 46,499 Mal angesehen und es wurde von 370 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!