# python_call_c **Repository Path**: 66/python_call_c ## Basic Information - **Project Name**: python_call_c - **Description**: python 调用C语言,python 给c传递参数,c语言返回python参数 - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2014-12-19 - **Last Updated**: 2022-06-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #python 通过ctypes调用c/c++代码 1.编译test.c用命令: gcc -o test.so -shared -fPIC test.c 2.在test.py中可以调用c函数