Jan-28-2019, 09:47 PM
Although I am an experienced programmer, I'm new to Python.I'm working in the free Thonny 3.* IDE and I tried the following:
ImportError: cannot import name 'date' from 'datetime' (****\****\Python Scripts\datetime.py)"
I've tried to import other methods from datetime and also I've tried to import the whole module, but nothing I try executes.
What am I missing?
Thank you.
from datetime import date today = date.today() print(today)But I received this error: "from datetime import date
ImportError: cannot import name 'date' from 'datetime' (****\****\Python Scripts\datetime.py)"
I've tried to import other methods from datetime and also I've tried to import the whole module, but nothing I try executes.
What am I missing?
Thank you.