1 2 3
from PyInstaller.utils.hooks import collect_data_files datas = collect_data_files('pydivert.windivert_dll')