OpenCV_4.2.0/opencv-4.2.0/modules/python/package/cv2/load_config_py2.py

7 lines
151 B
Python

# flake8: noqa
import sys
if sys.version_info[:2] < (3, 0):
def exec_file_wrapper(fpath, g_vars, l_vars):
execfile(fpath, g_vars, l_vars)