> On 8 Mar 2024, at 23:19, Thomas Passin via Python-list > <python-list@python.org> wrote: > > We just learned a few posts back that it might be specific to Linux; I ran it > on Windows. Depending on the exact win32 api used there is a 257 limit on windows. The 257 includes 2 for the device, C:, and 255 for the path part that will use 1 for the leading \. Getting an error for a name that is 255 is not surprising. Other api allow for 65535 limit, not sure on its additional limits. Barry -- https://mail.python.org/mailman/listinfo/python-list
- pathlib.Path.is_file vs os.path.isfile d... Albert-Jan Roskam via Python-list
- Re: pathlib.Path.is_file vs os.path... Thomas Passin via Python-list
- Re: pathlib.Path.is_file vs os.... Grant Edwards via Python-list
- Re: pathlib.Path.is_file vs... Grant Edwards via Python-list
- Re: pathlib.Path.is_fil... Grant Edwards via Python-list
- Re: pathlib.Path.is_file vs... Thomas Passin via Python-list
- Re: pathlib.Path.is_file vs os.... Albert-Jan Roskam via Python-list
- Re: pathlib.Path.is_file vs... Thomas Passin via Python-list
- Re: pathlib.Path.is_fil... Grant Edwards via Python-list
- Re: pathlib.Path.is_fil... Barry via Python-list
- Re: pathlib.Path.i... Thomas Passin via Python-list
- Re: pathlib.Pa... Albert-Jan Roskam via Python-list
- Re: pathli... Thomas Passin via Python-list
- Re: pathli... Barry via Python-list