I started to learn Python. For now, I use Udemy lectures.
Currently, I know how to write the simplest scripts without any GUI but still…
How can I start a script like:
If I have it in my desktop? (I use XFCE)
I did chmod so it’s executable.
Under right click the first and default option is run.
When I double click (or RMB + run) on the file nothing is going on.
I’ve tried to add
#!/bin/python at the beginning of script but that didn’t help either.
And to be clear. I’m not expecting GUI right now. Can it open in terminal window, print Hello World and close?