I have two blocks of python code, one works, and the other doesn\'t.
Working block:
env = {\'user\':\'xyz\'} for key, value in env.