我的問題
使用了sqlalchemy做一個簡答的查詢,但是日期格式直接打印了代碼,百度半天沒找到解決辦法
  result = engine.execute(sql)
        res = result.fetchall();
        for i in res:
            print("當前數據為",i)
            temp = {}
            for i,item in enumerate(i):
                if i == 25:
                    temp[i] = item
                else:    
                    temp[i] = item
            data.append(temp)  
 
        
解決辦法
 temp[i] = str(item)
 
        把他當中代碼處理,用字符串函數轉一下就可以了

