Boylan, Ross wrote:

Is this some kind of string conversion issue?  My installation is borked?
Manual debugging statements show sys.argv[0] is 'BSTImport.py'.

win32api.FindFiles('BSTImport.py')
in a python 3.7 shell (32 bit) hangs.

That's quite bizarre.  The code for win32api.FindFiles is straightforward.  Is this a special directory, like a net share or something?  If you ask for *.py, is BSTImport.py in the list you get back?

Do you code in C?  You might code up a trivial C app to run a FindFirstFile/FindNextFile loop with the same parameters to see if the same thing happens.  Of course, I'm not sure what the next step would be, whether that worked or failed.

--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.

_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32

Reply via email to