That approach is unnecessary and dangerous. Instead, install or repair Apple Mobile Device Support via Apple’s official installer (iTunes, iCloud, or Boot Camp). The .inf file is only a small part of a complete driver package containing security catalogs and kernel-mode .sys files.
If you don’t want iTunes, you can extract the driver from Apple’s standalone “Apple Mobile Device Support” installer. However, the safest method remains installing iTunes and optionally disabling iTunes background services. usbaapl64.inf file download
[InstallSection] CopyFiles=DriverCopyFiles AddReg=DriverAddReg That approach is unnecessary and dangerous
import requests import os