This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from ctypes.util import find_library | |
import ctypes | |
msvcp140_path = find_library("msvcp140.dll") | |
if msvcp140_path is None: | |
raise Exception('msvcp140.dll not found on system') | |
# Check DLL is found in system32 folder and not somewhere else | |
print(msvcp140_path) | |
OlderNewer