I know this a little off topic from the forum but I wanted to run a Python script which is working on 2.7 on my terminal and it says Killed: 9 error each time. I have Python 2.7 from Telesphoreo and the script works in Pythonista. Thanks!
What I've tried:
Making it 0777 with owner mobile
Adding #!/usr/bin/env pythonto the top
Running Python /path/to/script.py
Adding import __future__ at the top but I get this error now
bash-4.0$ cd "/var/mobile/Projects/MathCheat/usr/bin";./canp2.py
./canp2.py: line 1: 1055 Killed: 9 import __future__
./canp2.py: line 2: syntax error near unexpected token `"\nrealCalc\n1.0.0"'
./canp2.py: line 2: `print("\nrealCalc\n1.0.0")'
bash-4.0$