How can you tell if a Python datetime is a weekend (i.e., Saturday or Sunday)?
Invoke weekday(). It returns an int; Mon is 0, Sat is 5 and Sun is 6. So:
today = datetime.datetime.now()
if today.weekday() > 4:
print('Weekend!')
else:
print('Not yet the weekend. :-(')
