Dec-06-2016, 01:38 PM
(Dec-06-2016, 11:18 AM)Flexico Wrote: Got answered here: http://www.linuxquestions.org/questions/...ost5638499
Your final solution in the link does not actually correspond to the question you asked here, but if your happy, we're happy. btw, there is no "double click" to run a script in linux, that's Windows. If you have the proper "shebang" line at the beginning of you script, for example:
#!/usr/bin/env pythonNote in the above example, this will invoke the default Python interpreter (in linux, usually python 2)
you simply type "./your_script.py
As metulburr pointed out, unless you add something to keep the terminal open, python will run the script and the close the terminal (unless of course, your running the script from within an existing terminal.
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition