Answers for "AttributeError: module 'datetime' has no attribute 'now' site:stackoverflow.com"

4

datetime has no attribute now

#You probably have

import datetime

#change that to

from datetime import datetime
Posted by: Guest on June-20-2020

Code answers related to "AttributeError: module 'datetime' has no attribute 'now' site:stackoverflow.com"

Python Answers by Framework

Browse Popular Code Answers by Language