python連接mysql時異常:TypeError:d format:a number is required,not str

今天在學習flask中,想嘗試利用表單提供數據, 本意是想插入幾個數據進入MySQL中,結果報錯如下 TypeError: %d format: a number is required, not str" 解決方案:The format string is not really a normal Python format string. Youmust always use %s for al
相關文章
相關標籤/搜索