'datetime.datetime' has no attribute 'datetime'問題

寫python時,用到了日期計算。因而寫了datetime.datetime(*d_startTime[0:6])這樣的代碼。python 結果編譯不經過,報 'datetime.datetime' has no attribute 'datetime'錯誤。編譯器 可是看了一下引用:from datetime import datetime 已經寫了。並且其餘地方都引用的好好的啊。編譯   仔細
相關文章
相關標籤/搜索