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 2.8k 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.
      • A Offline
        aarontheissueguy @Lakotaubp
        last edited by

        @lakotaubp oh my bad. Im a native German πŸ™‚ Thx for the feedback

        1 Reply Last reply Reply Quote 0
        • 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 Offline
                          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
                          JingPad (24.04-1.x daily)
                          OnePlus Nord N10 5G (24.04-2.x daily)
                          PinePhone OG (20.04)
                          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

                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                            With your input, this post could be even better πŸ’—

                            Register Login
                            • First post
                              Last post