Apologies... user error strikes. Tis the way of the newb. Nothing to see here, move along.

I have a dict with the following pairs:

object = {'v1': 1, 'e5': 6}

If I set a variable using this data and print it:

var = object['v1']
print var

I get the following output:


I simply get 1

I would also avoid using object as a variable name since it is a built in term for the basic Python object.