Adding a char inside path string

Grant Edwards grante at visi.com
Wed Aug 16 16:35:50 EDT 2006


On 2006-08-16, Hitesh <hitesh287 at gmail.com> wrote:

> That might work but what if I get (in future) a path name where
> foldername (and in windows it is very common, someone might name a
> folder something like "Screw You") with space?

You must come up with a rigorous specification for what is and
isn't allowed at the end of a path.  

Then delete the stuff that isn't allowed.

-- 
Grant Edwards                   grante             Yow!  Hello? Enema
                                  at               Bondage? I'm calling
                               visi.com            because I want to be happy,
                                                   I guess...



More information about the Python-list mailing list