首页
学习
活动
专区
圈层
工具
发布
社区首页 >专栏 >利用cython将python转为c代码

利用cython将python转为c代码

作者头像
py3study
发布于 2020-01-08 16:16:22
发布于 2020-01-08 16:16:22
2K0
举报
文章被收录于专栏:python3python3

1. 安装cython

2. cython test.py --embed

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

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2019/09/08 ,如有侵权请联系 cloudcommunity@tencent.com 删除
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档