2aa8517bb07ad9fa2c5d339861314230

by Zhao Qiang
from SUSE Beijing

I am a developer in SUSE Beijing office, mainly focus on Gnome, Plymouth, and M17N.
I have made a lot of contributions to openSUSE.
I'm learning GTK, Glib, and other gnome infrastructure library now.

No video of the event yet, sorry!

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!

Date:
2018 August 11 15:30
Duration:
15 min
Room:
Conference Room #304
Conference:
openSUSE.Asia Summit 2018
Language:
Track:
Difficulty:
Medium