Dennis,
> pi@rpi3bplus-1:~$ uname -a
> Linux rpi3bplus-1 4.19.75-v7+ #1270 SMP Tue Sep 24 18:45:11 BST 2019
> armv7l
pi@raspberrypi: ~ $ uname -a
Linux raspberrypi 4.19.57-v7+ #1244 SMP Thu Jul 4 18:45:25 BST 2019 armv7l
GNU/Linux
Thats exactly the same for both the sd cards I have, even though they come
from different sources (one bought, the other downloaded myself. whats the
chance of that ? :-) ).
> pi@rpi3bplus-1:~$ file *
Same folders, but no files ...
So yes, it looks like we've got different versions. Not much, but obviously
plenty enough.
> Even more perplexing... tst.py doesn't even ID as a Python script!
Just to retest I created four files with .py extensions on the above machine
containing :
1)
2) print("hello world")
3) #! /usr/bin/env python
4) #! /usr/bin/env python3
Using xdg-mime the first three return text/python and the fourth
text/python3.
Using file -i the first two return text/plain, the latter two text/python.
> Even stranger... test1.py -- with NO shebang, but chmod +x, when
> double clicked, opens in the Thonny IDE! No request to execute it.
The "no execute request" isn't that strange when it doesn't identify as a
script and thus the DTM doesn't know which program to start it with. Or
maybe its just that that mimetype has no executable registered for it.
Though the "opens in Thonny" does baffle me. The only thing I can think of
is that the returned mime type for that file somehow got linked to Thonny.
What do the files properties show ? The "Open with:" entry I mean.
Regards,
Rudy Wieser
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|