human
how to format date in ISO using python?
assistant
Here is some code to format a date object `str_data` into iso fomrat

datetime.datetime.strptime(str_date, '%m/%d/%Y').date().isoformat()

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