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
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).
pyexpect and write the whole Mac GUI with Xcode, Cocoa, and Python (with PyObjC -- see Apple's tutorial I already pointed to) -- absolutely no need to "run Python code" from "an objective C application";-). Or, instead of pyexpect, you can look inside howie and use or make a decent Python API for it -- but, again, what does that have to do with objective-c?!expect is Tcl, pyexpect is Python (I don't know of any equivalent for ObjC). However, Python is easy to learn!-)