在iOS应用程序中运行python脚本 [英] Run python scripts in iOS app
问题描述
我需要在ios应用程序中运行python脚本。我发现此问题在ios中运行一个简单的python脚本
回答他包括Python.h
I need to run python scripts in ios app. I found this question run a simple python script in ios In answer he include Python.h
#include <Python.h>
我在哪里可以得到这个文件?在哪个库或框架?编译器说我Python.h文件未找到
Where I can get this file? In which library or framework? Compiler said me "Python.h file not found"
我使用Mac OS X 10.8.2,xCode 4.6
我在系统中有Python.framework /Library/Frameworks/Python.framework和有Python.h
I'm using Mac OS X 10.8.2, xCode 4.6 I have Python.framework in System/Library/Frameworks/Python.framework and there Python.h
请帮助
推荐答案
您正在查找的脚本是用于OS X - 而不是iOS。很遗憾,iOS 不包含Python框架。
The script you are looking at is for OS X - not iOS. Sadly, iOS does not include the Python framework.
这篇关于在iOS应用程序中运行python脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!