I'm using the datetime
module in python3.7.
When I run it from terminal it throws an error:
File "/home/user/Desktop/Yazılım/datetime.py", line 2, in <module>
x=datetime.datetime.now()
AttributeError: module 'datetime' has no attribute 'now'
I'm using the datetime
module in python3.7.
When I run it from terminal it throws an error:
File "/home/user/Desktop/Yazılım/datetime.py", line 2, in <module>
x=datetime.datetime.now()
AttributeError: module 'datetime' has no attribute 'now'