python get day name code example Example: python get day name Click to copyimport datetime now = datetime.datetime.now() print(now.strftime("%A"))