想对当前日期写成这种形式Tue,15 Nov 2010 08:12:30 GMT
import datetime GMT_FORMAT = '%a, %d %b %Y %H:%M:%S GMT' datetime.datetime.utcnow().strftime(GMT_FORMAT)