from time import localtime, strftime
print(strftime("%a, %d %b %Y %H:%M:%S +0000", localtime()))

#https://pt.stackoverflow.com/q/331119/101