human
Get date from ISO week number in Python
assistant
Here is some code to convert string '2011221' into a DateTime object using format '%Y%W%w'

datetime.strptime('2011221', '%Y%W%w')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.