This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import email | |
import email.policy | |
from email.mime.multipart import MIMEMultipart | |
m = email.message_from_string('', policy=email.policy.default) | |
m['To'] = '[email protected]' | |
m['To'] = '[email protected]' # will raise ValueError | |
# and here is an alternative way |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Taşınacak depo | |
$ git log --pretty=email --patch-with-stat --reverse -- src/etc/vim/ > vim.patch | |
# Yeni depo | |
$ git init | |
$ git am < vim.patch | |