Improve python smart chars