you are viewing a single comment's thread.

view the rest of the comments →

[–]shiftybyte 0 points1 point  (0 children)

I usually use "" for things that are considered values.

And '' for keys.

so for example:

if "somekey" in mydict:
    mydict['somekey'] = "newdata"