My experence to create a python package with C language

openSUSE.Asia Summit

IB304

08/11 15:30 - 15:45

漢語 / Mandarin Chinese

Beginner / 入門

During my daily works, I need to create a python package with C language. it is a challenge to finish this in a short time, I read some guide, met some troubles, try my best to fix it and finally have got some tips. if you know how to program in C. such extension modules can do two things that can't be done directly in Python: they can implement new built-in object types, and they can call C library functions and system calls. To support extensions, the Python API (Application Programmers Interface) defines a set of functions, macros, and variables that provide access to most aspects of the Python run-time system. The Python API is incorporated in a C source file by including the header"Python.h". The compilation of an extension module depends on its intended use as well as on your system setup; details are given in the talk. I hope to share it with other people in our community. Thanks!


赵强

我在 openSUSE 社群中做了许多工作,主要参与了中日韩和东亚各语言的国际化工作。主要内容包括输入法,字体,翻译等。

鈦金級贊助

Co-Host Sponsor

鑽石級贊助

黃金級贊助

白銀級贊助

青銅級贊助

合作夥伴

協辦單位

特別感謝