On Mon, Dec 19, 2022 at 9:40 AM Bob Kline <bkl...@rksystems.com> wrote: > .... > Anyone else stumbled onto this problem?
I found a solution. If I add e:\Python\DLLs to the PYTHONPATH environment variable, Windows script is able to import the ctypes module. I would appear that something has changed in the communication between Python and the pywin32 package, as I didn't have to do that previously, and I assume that the change was introduced by the CPython team, as I'm running the same version of pywin32 (305) now as I was before the Python upgrade. Hope this helps someone else. Cheers, Bob _______________________________________________ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32