[Tutor] OS lib creating an directory using an absolute path.

Alan Gauld alan.gauld at yahoo.co.uk
Mon Feb 8 04:03:21 EST 2021


On 07/02/2021 00:18, boB Stepp wrote:

>> Speaking personally I find filenames/folders with spaces continually
>> trip me up, especially in shell scripts and programs. 

> I take your points about care in quoting and splitting paths, but doesn't
> one, nowadays, have to be prepared to deal with potential spaces as well as other
> irksome characters?  

In production code of course. But many of my scripts are for personal
use and I don't *expect* to find spaces in names. But of course
occasionally I do :-(

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos




More information about the Tutor mailing list