Upul Bandara
Upul Bandara

Reputation: 5958

Is there any limitation in python when handling long file paths?

I am writing a file copying utility in Python. But I am getting some error messages when processing files with very long file paths.

I suspect Python has some limitations when handling very long file paths.

Upvotes: 1

Views: 329

Answers (1)

AndiDog
AndiDog

Reputation: 70108

Many file systems don't support long filenames, so it's probably a limitation of the OS or your file system.

There are also OS-specific issues like API limitations (e.g. in the Windows API).

Upvotes: 4

Related Questions