I have tried to use Python in Xcode, I set everything up according to a tutorial but a big problem showed up after trying to execute the python program.
The issue was, according to Xcode, a lack of permission,
/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'File.py': [Errno 1] Operation not permitted
Program ended with exit code: 2
I'm not informed about permission system of MacOS, I have tried a few things giving Xcode permission through Safety and Privacy but, at least in my case, didn't cause any change.
If somebody has an idea how to fix this issue I'd be happy to hear them.