Re: [python-win32] Windows scripting can't find _ctypes

2022-12-19 Thread Bob Kline
On Mon, Dec 19, 2022 at 9:40 AM Bob Kline 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

[python-win32] Windows scripting can't find _ctypes

2022-12-19 Thread Bob Kline
I just ran into a snag after upgrading to Python 3.11.1. Running Python 3.10.1 the ctypes module imports with no problems. Same under Windows scripting using the pywin32 package. With 3.11.1 importing ctypes directly still works. However, under Windows scripting using the pywin32 package "import