Running python on Xcode 12/13? #10
-
Is there a way to run python on Xcode? Python 3.x preferred |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Do you want to use Xcode as an editor for python? If so, I'm not sure... If you want to use Python in an iOS app, you may want to look at the Unfortunately, it currently only documents how to use |
Beta Was this translation helpful? Give feedback.
-
I've used Xcode for python before, but I used it in combination with the command line to activate the interpreter so really I was just using Xcode as a fancy TextEdit. There is a limited amount of syntax highlighting and auto-complete (compared to something like PyCharm, for example) but it's good enough (I think) for certain programs (e.g Raspberry Pi). BUT, there is a way to set up Xcode with a scheme that runs the python program inside the built-in console with the run button/cmd + R, I found this blog post that @ApolloZhu dug up to be fairly constructive. |
Beta Was this translation helpful? Give feedback.
I've used Xcode for python before, but I used it in combination with the command line to activate the interpreter so really I was just using Xcode as a fancy TextEdit. There is a limited amount of syntax highlighting and auto-complete (compared to something like PyCharm, for example) but it's good enough (I think) for certain programs (e.g Raspberry Pi). BUT, there is a way to set up Xcode with a scheme that runs the python program inside the built-in console with the run button/cmd + R, I found this blog post that @ApolloZhu dug up to be fairly constructive.