Python script from Objective-C

Dominyo

Registered
I'm very new to Objective-C and Mac programming, so bare with me. I'm writing an Objective-C (Cocoa) program that needs to be able to run a Python script and store the output in a string. Is there any way to do this?
 
You can use C from within Objective-C, so just use the 'normal' C way of doing it. (Process & pipe)
I don't know if there is a fancy OO way of doing it, though.
 
Back
Top