Rob Cliffe via Python-list wrote:
> When the RAM disc is empty,
> os.scandir("R:")
> raises a FileNotFoundError instead of (as I would have expected) returning an
> empty iterator.
os.scandir is a simple wrapper around FindFirstFile/FindNextFile. If
FindFirstFileW("R:", "*.*") sets the f
Op 31/03/2026 om 9:48 schreef Anders Munch:
Rob Cliffe via Python-list wrote:
> When the RAM disc is empty,
> os.scandir("R:")
> raises a FileNotFoundError instead of (as I would have expected) returning an
empty iterator.
os.scandir is a simple wrapper around FindFirstFile/FindNextFile.
> On 31 Mar 2026, at 09:28, Roel Schroeven wrote:
>
> There doesn't seem to be much consistency.
> As you can see, FindFirstFileW() on an empty RAM disk gives an
> ERROR_FILE_NOT_FOUND. Adding \ or \*.*. Doesn't help.
Maybe the result changes based on what hidden files are in the root of the
On 31/03/2026 11:14, Barry wrote:
On 31 Mar 2026, at 09:28, Roel Schroeven wrote:
There doesn't seem to be much consistency.
As you can see, FindFirstFileW() on an empty RAM disk gives an
ERROR_FILE_NOT_FOUND. Adding \ or \*.*. Doesn't help.
Maybe the result changes based on what hidden f
PyMovie and PyOTE from IOTA require Anaconda Python 3.8+ (not system Python) on
Windows, and the BAT files they generate must run from the Anaconda environment
where Python is found—regular CMD won't locate it. The Microsoft Store redirect
happens due to Windows app aliases; disable them and pri