在Python中,使用datetime模块获取星期几非常简单,主要有两种方法,一种是返回数字(0-6或1-7),另一种是返回星期名称的字符串,使用weekday()和isoweekday()这两个方法都返回一个代表星期几的...