Use pypiwin32 it's a newer version to get out of
It also simply some imports.
exe
install of PyWin32 install and over to pip
.It also simply some imports.
(my_env) E:\div_code\my_env λ pip install pypiwin32 Collecting pypiwin32 ''''' Using cached cp37m-win32.whl (8.3MB) 100% |████████████████████████████████| 8.3MB 1.9MB/s Installing collected packages: pywin32, pypiwin32 Successfully installed pypiwin32-223 pywin32-224 Use: (my_env) E:\div_code\my_env λ ptpython >>> import win32api, win32con # No erros >>> win32api.DeleteFile <built-in function DeleteFile>