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
218●7●12●18
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 Desktop](https://cdn.wallpapersafari.com/8/65/KDGQOg.png)
UPDATE
Mac Desktop App Python App
![Python for mac Python for mac](https://raw.githubusercontent.com/ServiceStack/docs/master/docs/images/app/screenshot-mvc.png)
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 Mac Desktop App Python](https://zappy.zapier.com/quip (1) 2019-03-0616 at 16.47.00.png)
When I tried this in terminal, Jolla opened another terminal and my script was running in the new terminal...