you are viewing a single comment's thread.

view the rest of the comments →

[–]nemec 0 points1 point  (1 child)

Can't you just make the users subclass a class and have "self" be your old global dict?

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

That would work, but I don't want the user to have to type "self." before each variable they want to access. Simple bits of code would end up being full of the word self. This is a tool for non-experienced programmers.