Navigation

    UBports Robot Logo

    UBports Forum

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

    UNSOLVED 求助:如何在此系统上编译python文件?(How can I write my python program on this phone?)

    Off topic
    5
    6
    360
    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.
    • M
      MrYuin last edited by

      我成功地创建了text.py的文件,但我不知道如何修改它,有大佬可以帮忙解惑吗?
      I created a file named with "text.py" by "touch text.py" ,but I don't know how can I write my code in it. Can someone help me?

      lduboeuf P Lakotaubp 3 Replies Last reply Reply Quote 0
      • lduboeuf
        lduboeuf @MrYuin last edited by

        @mryuin Hi, well with only this few explanation, it is hard to help 😉
        Have you looked at the python template proposed by clickable ?

        1 Reply Last reply Reply Quote 0
        • P
          potet @MrYuin last edited by potet

          @mryuin Hi,
          Your best bet for writing/editing code is the app Seabass2!
          https://open-store.io/app/seabass2.mikhael

          1 Reply Last reply Reply Quote 0
          • Lakotaubp
            Lakotaubp @MrYuin last edited by

            @mryuin Please mention device and as much info as you can. It all helps others help you. Thanks

            1 Reply Last reply Reply Quote 0
            • kuailexs
              kuailexs last edited by Lakotaubp

              编辑还是编译
              编辑的话,随便找个文本编辑器就是了。
              编译的话,py是解释性语言,不需要编译的

              Translation : Edit or compile
              For editing, just find a text editor.
              If compiled, py is an interpreted language and does not need to be compiled

              Lakotaubp 1 Reply Last reply Reply Quote 0
              • Lakotaubp
                Lakotaubp @kuailexs last edited by

                @kuailexs I took the liberty and added a translation. If it is not correct please change it. Thanks

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