1 2 3 4
import logging import sys logging.error(f'Python version: {sys.version}') # [logging-fstring-interpolation]