UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    I made a Quick start guide on how to make Python apps.

    Scheduled Pinned Locked Moved App Development
    15 Posts 9 Posters 1.5k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • H Offline
        h_b @aarontheissueguy
        last edited by

        @aarontheissueguy great, thatll probably help me too to get into it πŸ™‚

        1 Reply Last reply Reply Quote 0
        • R Offline
          RandomUser
          last edited by

          • 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.

          A 1 Reply Last reply Reply Quote 0
          • A Offline
            aarontheissueguy @RandomUser
            last edited by

            @randomuser Thx for the feedback. Will correct asap.:beaming_face_with_smiling_eyes:

            1 Reply Last reply Reply Quote 0
            • S Offline
              sanath.usk 0
              last edited by sanath.usk 0

              @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 ?

              A 1 Reply Last reply Reply Quote 0
              • A Offline
                aarontheissueguy @sanath.usk 0
                last edited by

                @sanath-usk-0 Feel free to take whatever you want out of the article and distribute it to your needs.

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sanath.usk 0 @aarontheissueguy
                  last edited by

                  @aarontheissueguy Thanks πŸ™‚

                  1 Reply Last reply Reply Quote 0
                  • developerbaymanD Offline
                    developerbayman @aarontheissueguy
                    last edited by

                    @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

                    A 1 Reply Last reply Reply Quote 0
                    • A Offline
                      aarontheissueguy @developerbayman
                      last edited by

                      @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

                      arubislanderA 1 Reply Last reply Reply Quote 1
                      • arubislanderA Online
                        arubislander @aarontheissueguy
                        last edited by

                        @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.

                        πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                        Happily running Ubuntu Touch
                        Google Pixel 3a (20.04 DEV)
                        JingPad (24.04 preview)
                        Meizu Pro 5 (16.04 DEV)

                        1 Reply Last reply Reply Quote 1
                        • L Offline
                          L-00959
                          last edited by

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post