omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    New Beta for Pythonista 3.3

    Pythonista
    44
    98
    90250
    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.
    • omz
      omz @bennr01 last edited by

      @bennr01 said:

      BTW, in the current beta, the keyboard.set_view() method still has TODO (also document custom view callbacks like kb_should_insert) as the documentation.

      Oops, thanks!

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

        @mikael said:

        I am not exaggerating when I say that that was the primary thing that enabled me to get a new job, starting a new career next month as a full-time senior Python developer.

        That's amazing, congrats! :)

        1 Reply Last reply Reply Quote 1
        • Blanchot
          Blanchot last edited by Blanchot

          Dear @omz,

          Welcome back! The fact that this forum has continued to be a lively place where regular members help others with their questions and regularly offer their code snippets as solutions to problems is a measure of the love and enthusiasm folks have for pythonista.

          That too is amazing!

          1 Reply Last reply Reply Quote 2
          • mithrendal
            mithrendal last edited by mithrendal

            @Blanchot So true.

            @mikael your new job colleagues will be very happy as they get a high skilled and very talented work mate with you!!! Wish you a happy time on your new journey.

            1 Reply Last reply Reply Quote 1
            • technoway
              technoway last edited by technoway

              With the latest Pythonista Beta v. 3.3 (330025), installed today, i.e. 20 Feb., 2020, I get the same crash in my App I got with the last Beta.

              I tracked it down to the very first line of code that executes in my App! I commented out that line, and my App runs successfully.

              That line is:

              A great many lines of code are omitted both before and after the code snippet shown.

                      # Prevent iPhone from going to sleep while this program runs.
                      console.set_idle_timer_disabled(True)
              
                      # Create an instance of a class that derives from ui.View.
                      # <code-omitted>
              

              If I comment out that one line of code, the program does not crash.

              I am running that on an iPhone 6s running IOS 13.3.1

              codeprezzer 1 Reply Last reply Reply Quote 0
              • codeprezzer
                codeprezzer @technoway last edited by

                @technoway said:

                With the latest Pythonista Beta v. 3.3 (330025), installed today, i.e. 20 Feb., 2020, I get the same crash in my App I got with the last Beta.

                I tracked it down to the very first line of code that executes in my App! I commented out that line, and my App runs successfully.

                That line is:

                A great many lines of code are omitted both before and after the code snippet shown.

                        # Prevent iPhone from going to sleep while this program runs.
                        console.set_idle_timer_disabled(True)
                
                        # Create an instance of a class that derives from ui.View.
                        # <code-omitted>
                

                If I comment out that one line of code, the program does not crash.

                I am running that on an iPhone 6s running IOS 13.3.1

                I'm having exactly same issue since updating to 3.3 earlier today. Commenting out the "console.set_idle_timer_disabled(True)" helps. iPhone 8 and 13.3.1. Phone reboot not help.

                Thanks 👍

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

                  Sorry about the issue with console.set_idle_timer_disabled. Please use this workaround for now:

                  
                  import console
                  
                  def fix_set_idle_timer_disabled(flag=True):
                  	from objc_util import on_main_thread
                  	on_main_thread(console.set_idle_timer_disabled)(flag)
                  
                  technoway 1 Reply Last reply Reply Quote 3
                  • technoway
                    technoway @omz last edited by

                    @omz - Thank you for the workaround.

                    You do not have to apologize for anything.

                    Pythonista would have to have many, many, more bugs before it would stop being my favorite App. Thanks for making Python programming available on IOS.

                    1 Reply Last reply Reply Quote 3
                    • avarnell
                      avarnell @omz last edited by

                      @omz do you have a new link for the beta signup? 😊 thank you!

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

                        @mikael @omz Pythonista played an important role in my career as well. When I was interviewing for my last job they set a programming task to write a custom compression tool for specifically formatted data. I wrote it in Pythonista, mostly on the train on my commute. It was fun, I used a combination of techniques for different fields, including variable length encoding for numeric fields that took a fair amount of bit twiddling. I was able to actually demo it to them in my face to face interview on my iPad. It blew them away, they had no idea you could do something like that on an iPad.

                        1 Reply Last reply Reply Quote 3
                        • First post
                          Last post
                        Powered by NodeBB Forums | Contributors