Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Python examples

    App Development
    6
    11
    412
    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.
    • pavelprosto
      pavelprosto last edited by

      I wrote Python examples. Maybe someone will help

      • First project for Ubuntu Touch - Hello, world!

      • Create RGBA Image with Python on Ubuntu Touch

      • Writing a Calculator on Python for Ubuntu Touch

      • Interacting with QML Interface via Python on Ubuntu Touch

      • Working with Web Content with Python on Ubuntu Touch

      • Dynamically creating objects to ListBox with Python on Ubuntu Touch

      M poVoq Peter Gamma 3 Replies Last reply Reply Quote 15
      • M
        makeixo @pavelprosto last edited by

        😍

        I definitely will need it. Thank you, man!

        Peter Gamma 1 Reply Last reply Reply Quote 0
        • Peter Gamma
          Peter Gamma @makeixo last edited by

          @makeixo Looking since years for Python on a Phone, and NOT MycroPython, ANT+ , Muse SDK on Android, or things like that. Who wants to carry around a laptop with Matlab or Python for sensor data aquisition? Bring Python to Linux Phones!

          1 Reply Last reply Reply Quote -1
          • poVoq
            poVoq @pavelprosto last edited by poVoq

            @pavelprosto That's really cool. Thanks a lot for making these.
            I shared them on the federated Reddit alternative Lemmy.

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

              Very cool, had some issues finding resources a few weeks back. This will make it easier for others. It would be great if it was one big repo, because people could contribute even more examples.

              1 Reply Last reply Reply Quote 0
              • pavelprosto
                pavelprosto last edited by

                I think it's possible. In Ubports Developer Docs has a Sample Apps section:
                https://docs.ubports.com/en/latest/appdev/
                Over the weekend I will figure out how it can be edited to add Python Examples 😁

                CiberSheep 1 Reply Last reply Reply Quote 1
                • pavelprosto
                  pavelprosto last edited by

                  I am very glad that everyone really liked my examples.♥
                  I see this as a great need for the development of the community and will continue learning modules in Python Ubuntu Toch 😁

                  M 1 Reply Last reply Reply Quote 4
                  • M
                    makeixo @pavelprosto last edited by

                    @pavelprosto For me the Python isn't the part I am worried about. There are lots of books about python. What's still vague for me is what comes, when you have written the python file(s)? You get lost very fast ... Qt, qml, pyQt, QtQuick, pyOtherSide ...

                    I know there are lots of YouTube tutorials about Qt / qml, but what I have noticed is, that there mostly unstructured and for me personally not very helpful.

                    Your examples on the other hand are very helpful because you can see how - a not very complicated - qml file looks like. When I start with qml I will most likely need them for my app. 🙂

                    Peter Gamma 1 Reply Last reply Reply Quote -1
                    • Peter Gamma
                      Peter Gamma @makeixo last edited by

                      @makeixo Don't worry,the future is Python.

                      1 Reply Last reply Reply Quote 0
                      • Peter Gamma
                        Peter Gamma @pavelprosto last edited by

                        @pavelprosto congratulations, you are really the leader for the new Python Phone 👍.

                        1 Reply Last reply Reply Quote -1
                        • CiberSheep
                          CiberSheep @pavelprosto last edited by

                          @pavelprosto said in Python examples:

                          Over the weekend I will figure out how it can be edited to add Python Examples 😁

                          You might want to check here 🙂

                          github.com/ubports/docs.ubports.com/

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post