import cx_Oracle
conn = cx_Oracle.connect('数据库名字', '密码', '**', encoding='UTF-8')
cursor = conn.cursor()
number = '2020-09-08 11:29:18'
cursor.execute("update table set DATEcolumn = to_date('{number}' ,'yyyy-mm-dd hh:mi:ss')".format(number=number))
conn.commit()
cursor.close()
conn.close()