Mac Desktop App Python

The Python class representing your extension. The Python class is where you write your business logic for the extension. This class is important because it is called when the application extension is used in a desktop application. Use the Python naming convention when constructing your class. Python classes use cap-word notation.

asked 2015-07-04 22:44:18 +0200

Python Apps Examples

mlwn
21871218

I have written a python script to perform a certain action.

This script uses command line interaction.

If I use this script from fingerterm, it works like charm.

Problem:

When I tried creating a desktop icon for it ( added a .desktop entry ), it shows the icon on the desktop, when clicked it shows the working circle, but my fingerterm does not show or my application does not run.

this is the .desktop entry:

I am sure I missed something somewhere...

Could it be because the script is stored on external memory card ?

Thanks..

Desktop

UPDATE

Mac Desktop App Python App

Python for mac

Very Strangely, I read somwhere that I can diagnose the .desktop entry as below:

awk -F= '/Exec=/{system($2)}' your_desktop_file.desktop

Mac Desktop App Python

When I tried this in terminal, Jolla opened another terminal and my script was running in the new terminal...

Mac Desktop App Python Tutorial

editretagflag offensiveclosedelete