4

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>

Where I can get this file? In which library or framework? Compiler said me "Python.h file not found"

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

Please help

Community
  • 1
  • 1

1 Answers1

4

The script you are looking at is for OS X - not iOS. Sadly, iOS does not include the Python framework.

dsgriffin
  • 66,495
  • 17
  • 137
  • 137
  • 6
    This is for iOS not OS X. iOS doesn't include the Python framework. You're referring to the OS X framework. – Jim Feb 04 '13 at 14:24
  • iOS does not include Python, but you can embed. Somehow the Pythonista app does this. – Nostalg.io Apr 18 '19 at 18:08