max filename size
François Granger
francois.granger at free.fr
Fri Mar 30 18:18:57 EST 2001
Voluciris <volucris at hotmail.com> wrote:
> Is there away to find the maximum filename length of the current os? On
> Windows it's 215 characters, but I don't want to hard code that in. It would
> be much more pythonic if it was portable.
You can go to the lowest common denominatore. If you target MacOS, it is
32. If you target DOS, it is 8.3 ;-)
--
"De quelque manière que l'on divise le monde, il y a toujours la même
proportion d'imbéciles et de c.." - Propos de O.L.Barenton, Confiseur
A. Detoeuf
More information about the Python-list
mailing list