Sorry for the vague question, I don’t really know how to ask about this or the legal terminology for him.
How to run python script / bytecode / .pyc (any compiled Python code) without going through the terminal. Mostly on Nautilus: "when you double-click the python script it will run" or "when you select [Enter], it will work!". That is at least my goal.
When I check "Allow the file to run as a program," then press [enter] in the file. This gives me the following message:
Failed to display "/ home / ghelo / Music / arrange .pyc". No application is installed for Python bytecode files. Do you want to find an application to open this file?
Using Ubuntu 12.04, by the way, it should be python 2, one of the packages does not work on python 3. If there is a difference between how to do this in the two versions, turn it on if it doesn’t ask much, thanks.
I know this doesn't matter, but this is a script to automatically rename and organize my music files. Guide me stupid idiot. :)
source share