[Python3.6] print vs sys.stdout.write

NoSuchKey