利用cython将python转为c代码

1. 安装cython

2. cython test.py --embed

3. gcc `python-config --cflags` `python-config --ldflags` test.c -o test


版权声明:本文为cdj0311原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。