1 2 3 4 5 6 7 8 9 10 11
# -*- coding: utf-8 -*- import sys PY33 = sys.version_info >= (3, 3) if PY33: FileNotFoundError = FileNotFoundError else: FileNotFoundError = IOError # cf PEP-3151