점프 투 플라스크 61page, 'datetime': import error는 어디서 수정하면 되는지요?
(myproject) c:\projects\myproject> flask shell
Python 3.9.2 (tags/v3.9.2:1a79785, Feb 19 2021, 13:44:55) [MSC v.1928 64 bit (AMD64)] on win32
App: pybo [development]
Instance: C:\projects\myproject\instance
>>> from pybo.models import Question, Answer
>>> from datetime import datatime
Traceback (most recent call last):
File "<console>", line 1, in <module>
ImportError: cannot import name 'datatime' from 'datetime' (C:\Users\j-sys\AppData\Local\Programs\Python\Python39\lib\datetime.py)
Willees 님 617
M 2021년 3월 29일 2:28 오후