Editing Python/Harmattan/Getting started with Harmattan Python
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 128: | Line 128: | ||
To run applications (binaries and scripts) it is necessary to follow some security guidelines. Information about the implications of the security framework for applications in general can be found [https://projects.maemo.org/mediawiki/index.php/Developer_Library/Developing_for_Harmattan/Harmattan_security here]. | To run applications (binaries and scripts) it is necessary to follow some security guidelines. Information about the implications of the security framework for applications in general can be found [https://projects.maemo.org/mediawiki/index.php/Developer_Library/Developing_for_Harmattan/Harmattan_security here]. | ||
- | + | Without a proper package it will not be possible to run executable Python scripts without pre-pending ''python''. The following call would fail: | |
- | <nowiki> | + | <nowiki> |
- | + | $ ./dosomething.py | |
+ | -sh: ./dosomething.py: Permission denied | ||
</nowiki> | </nowiki> | ||
- | + | However, using the Python interpreter for calling the script works as expected: | |
- | + | <nowiki> | |
+ | $ python ./dosomething.py | ||
+ | </nowiki> | ||
The next section shows how to package your Python application. | The next section shows how to package your Python application. |
Learn more about Contributing to the wiki.