I have a datetime.datetime object. All I want to do is pull it\'s data out and put it into a list. The only method I have found is:
date_list=list(my_dt_ob
Each of the parts of the date and time are available as attributes of the datetime object. You can use them directly:
datetime
date_list = [my_dt_ob.year, my_dt_ob.month, my_dt_ob.day, my_dt_ob.hour, my_dt_ob.minute, my_dt_ob.second]