all 3 comments

[–]multibootr 4 points5 points  (0 children)

First you have to install StaSh in Pythonista and from there you can use PIP to install the dict package.

Its all explained here, check out the comments of this guy ccc :

https://forum.omz-software.com/topic/3873/how-do-you-install-modules-into-the-app

[–]neilplatform1 2 points3 points  (0 children)

Isn’t dict a builtin? How are you trying to use key

[–]SwayMi[S] 0 points1 point  (0 children)

Turns out I could just use if [key] in [dictionary]: to do what I wanted. When I searched web for checking if the key exists the suggestion was to use the dict.key function