windows and file names > 256 bytes
random832 at fastmail.us
random832 at fastmail.us
Thu Jun 25 13:53:44 EDT 2015
On Thu, Jun 25, 2015, at 09:35, Michael Torrie wrote:
> The OP mentions that even when he manually supplies extended paths,
> os.mkdir, os.getsize, and shutil.rmtree return errors for him in Python
> 2.7. So there's more to this problem.
The byte versions of the underlying OS APIs use a 256-character buffer
to do conversion - he needs to also be passing unicode strings.
More information about the Python-list
mailing list