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

1 Answer 1

4

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

Sign up to request clarification or add additional context in comments.

2 Comments

This is for iOS not OS X. iOS doesn't include the Python framework. You're referring to the OS X framework.
iOS does not include Python, but you can embed. Somehow the Pythonista app does this.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.