简体   繁体   English

如何将Python中的脚本转换为C ++?

[英]How to convert a script in Python to C++?

I need to convert python script How to parse the Manifest.mbdb file in an iOS 4.0 iTunes Backup to c++ code. 我需要转换python脚本如何将iOS 4.0 iTunes Backup中的Manifest.mbdb文件解析为c ++代码。 Is there any conversion tool for that? 是否有任何转换工具? Can anyone provide C++ code for Manifest.mbdb parser? 谁能为Manifest.mbdb解析器提供C ++代码?

Try ShedSkin 尝试ShedSkin

From the website: 从网站:

Shed Skin is an experimental compiler, that can translate pure, but implicitly statically typed Python programs into optimized C++. Shed Skin是一个实验性的编译器,可以将纯净但隐式静态类型的Python程序转换为优化的C ++。 It can generate stand-alone programs or extension modules that can be imported and used in larger Python programs. 它可以生成独立的程序或扩展模块,可以将其导入并在较大的Python程序中使用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM