Quantcast
Channel: Python scripts flash and fail on doubleclick - Ask Ubuntu
Browsing latest articles
Browse All 2 View Live

Answer by Dominik for Python scripts flash and fail on doubleclick

I found the problem. The Python files contained Windows line endings ("\r\n") instead of Unix ones ("\n"). IPython was able to run them anyway but env was not, reading the shebang line as calling...

View Article



Python scripts flash and fail on doubleclick

When I try to run any Python script by double-clicking it on my desktop or in Caja, a terminal window comes up for a split second (so execution does start) and then disappears, without the script...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images