Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 97327

Python datetime module problems

$
0
0

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'

Viewing all articles
Browse latest Browse all 97327

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>