scoutchorton
April 26th, 2016, 02:09 AM
So I have a Python file (test.py to be specific), and if I have the code:
print "Hallo"
Save it, open file browser and double click it (yes, I allowed it to be executed), it brings up this weird cursor I've never seen, and brings up this error:
268630
I went to investigate this /usr/bin/print and I found a Perl file. Am I missing something because Python uses C, not Perl (last I knew).
If I use Terminal to do
python ~/Desktop/(path to file)/test.py
it works fine.
I'm going to restart my computer, and if that doesn't fix it, purge python and install it again.
I'm on Ubuntu 16.04 LTS, Python 2.7.11, and if you need more details, just let me know!
I'll report with results when I restart and reinstall!
print "Hallo"
Save it, open file browser and double click it (yes, I allowed it to be executed), it brings up this weird cursor I've never seen, and brings up this error:
268630
I went to investigate this /usr/bin/print and I found a Perl file. Am I missing something because Python uses C, not Perl (last I knew).
If I use Terminal to do
python ~/Desktop/(path to file)/test.py
it works fine.
I'm going to restart my computer, and if that doesn't fix it, purge python and install it again.
I'm on Ubuntu 16.04 LTS, Python 2.7.11, and if you need more details, just let me know!
I'll report with results when I restart and reinstall!