spaces at ends of filenames or directory names on Win32

Jeffrey Schwab jeff at schwabcenter.com
Thu Feb 23 19:29:01 EST 2006


Larry Bates wrote:

> IMHO leading and/or trailing spaces in filenames is asking for
> incompatibilities with cross-platform file access.

With what platforms specifically?

> Much like
> using single-quote in filenames which are perfectly legal in
> DOS/Windows, but Linux doesn't like much.

Uh...  What Linux are you using?  And what FS?

$ touch "'" && ls
'
$ rm "'"
$



More information about the Python-list mailing list