Make adjustments in python code.
Use sys.stdout.write() and sys.stderr.write() instead of print because print
in Python 3 has a different syntax from Python 2.
Don't use Python module 'logging'.
Avoid the use :python command because it may not work well with Neovim.