On 12/7/25 3:03 AM, Em wrote:
> So, is this a change from WIN10?

Maybe.  It could be a change in the pylauncher. Or a change in how
Windows starts pylauncher. It could be a difference between the versino
of Python Microsoft puts in the store vs the python.org package.  It
could be a change in how Windows 11 has locked down disk permissions
tighter.

> and is IDLE not affected by this change?

IDLE sets the working directory before running your script to the same
directory as your script.

As mentioned, it's always best to not assume the working directory is
what you think it is.  This isn't just a python issue. This is something
you had to be concerned about when writing Windows programs for as long
as I can remember.
-- 
https://mail.python.org/mailman3//lists/python-list.python.org

Reply via email to