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
-
@omz, my sincere thanks to you, as well.
Pythonista and this incredible community have enabled me to keep up and develop my Python knowledge, squeezed in between a non-coding job and a busy family life.
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.
-
Happy to see you @omz and the update!
-
@omz Glad to see you in the forums again :)
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. -
@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!
-
@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! :)
-
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!
-
-
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
-
@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 👍
-
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)
-
@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.
-
@omz do you have a new link for the beta signup? 😊 thank you!
-
@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.