python datetime to day name code example
Example 1: python get day name
import datetime
now = datetime.datetime.now()
print(now.strftime("%A"))
Example 2: python datetime get weekday name
import datetime
now = datetime.datetime.now()
print(now.strftime("%A"))