I made a Quick start guide on how to make Python apps.
-
@aarontheissueguy
Two remarks:
In your text, replace UbPorts by UBports
and Ubuntu Touch apps would be more accurate than "UbPorts apps"Otherwise, congrats for your contribution
-
@libremax Will correct Asap.
-
@aarontheissueguy Good stuff thanks for taking the time to do it. If you just make the changes @libremax suggested and as your doc is in English probably best to link to the English version of the ssh part of UBports docs rather than German(?) and development not developement you should be set. Thanks again for your time and effort.
-
@lakotaubp oh my bad. Im a native German Thx for the feedback
-
@aarontheissueguy great, thatll probably help me too to get into it
-
- Typo: knwoledge -> knowledge (2x times)
- Inconsistency: sometimes apt, sometimes apt-get
- Combine all dependencies in one apt(-get) command so it can be copy/pasted at once
- Mark the Atom section as "Optional"
- String concatenation is bad Python practice, use string formatting (atleast
str.format()
or f-strings)
Nice work though! This should get people started and perhaps the article can get extended further.
-
@randomuser Thx for the feedback. Will correct asap.
-
@aarontheissueguy Wonderful stuff.Thank you for your contribution. Do you mind if we add extracts from your article to the UBports docs at https://docs.ubports.com/en/latest/appdev/index.html#getting-started ?
-
@sanath-usk-0 Feel free to take whatever you want out of the article and distribute it to your needs.
-
@aarontheissueguy Thanks
-
@aarontheissueguy your link is down?? ....i could really use this as im having trouble loading my python script into clickable
where im at currently my process:
clickable create >select python>fill in crap>clickable project directory> ......this is where im lost replace example.py with my code.py? then clickable run >see logs??>slam head on table> ......please kind sir may i have some more>replace qml references from example to {mycode} >clickable run>see logs>slam head on table........please help -
@developerbayman Sorry for the late response. My site is currently down to reduce server cost (Inflation hits us all). Here is the guide: https://web.archive.org/web/20220515161326/https://aaron.place/blogs/UbPortsPython.html
-
@aarontheissueguy Bear in mind that this how-to might contain some steps that are no longer necessary. Installing Qt 5 for instance is not needed. Clickable downloads the requisite container images with everything installed necessary for the tutorial.
-
This post is deleted!