[Tutor] valid filenames

Remco Gerlich scarblac@pino.selwerd.nl
Sun, 1 Apr 2001 17:17:44 +0200


On Sat, Mar 31, 2001 at 09:52:47PM -0600, Scott wrote:
> Is there a Python module that contains a function that determines if a
> string is a valid filename?  If not, can someone refresh my memory;
> what is a valid filename in Unix?  I think it can be up to 255
> characters, but which characters are disallowed?

'/' is disallowed, and '\0' (null).

-- 
Remco Gerlich