python3: except, raise
python3: print
python3: configparser
python3: encode string before passing to stream write