Thanks for the suggestions. Separate lines has worked a treat. Simple and effective.
Trying options with and without accessing file - haven't made up my mind exactly how I see the code going ahead.
Question answered - tick.
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.
Thanks for the suggestions. Separate lines has worked a treat. Simple and effective.
Trying options with and without accessing file - haven't made up my mind exactly how I see the code going ahead.
Question answered - tick.
Hi
Using Pythonista on an iPad 3.
Rather than read from a file I copied/pasted some data into a dict() so that the code would be standalone. It has approx 100 keys, each with 8 values. Now when I try to edit the details in the dict() it takes about 30 seconds for each key press, and scrolling takes time too.
Can someone suggest why this happens, or an alternative format for the data in my code?
The script is a very short, only about 30 lines, and is a simple search / lookup that I have been using to practice my python coding so this was surprising. I wondered whether it is constantly recompiling the code or something like that...
Thanks.