How would I accomplish the following?
>>> x={'NON_EPISODIC_MOVIE': 11}
>>> for k,v in x.items():
...     k=v
... 
>>> NON_EPISODIC_MOVIE
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'NON_EPISODIC_MOVIE' is not defined
Basically, I want to be able to convert a dictionary mapping into the following:
NON_EPISODIC_MOVIE = 11
...other items...
if content_type == NON_EPISODIC_MOVIE:
    # do something
How would this be accomplished from a dict?
 
     
    