Python with Xcode
In this tutorial, I’ll show how to execute and run Python codes with Xcode.
1. Open up Xcode. Applications ▸ Xcode
2. Click on Create a new Xcode project
3. Select Other – External Build System
4. Give a Product Name, such as ‘python’
5. Now open up Terminal. Applications ▸ Utilities ▸ Terminal. And run the command ‘which python’. You’ll get the python directory from there. Copy it
6. Now go back to Xcode, and paste the python directory in Build…