pip install future
python
from __future__ import division, print_function, unicode_literals
python
from builtins import native_str
my_str = native_str('Hello, World!')
python
from future.utils import raise_from
try:
# Some code that may raise an exception
except Exception as e:
raise_from(NewException("An error occurred"), e)
pip install future-fstrings