Search code examples
pythonobjective-cpyobjc

objective C and python - pyobjc


Is it possible for an objective c application to run python files and read their data, etc?

If so, can someone post code? or lead me in the right direction?

Thanks, Elijah


Solution

  • Sure, see the tutorial -- it's very dated but should still apply today. (Apple's tutorial is good, but it only shows how to call ObjC from Python, while pyobjc's own tutorial, while extremely short, focuses on the opposite direction -- calling Python from ObjC -- which appears to be what you want).