On Sat, 19 Mar 2016 01:30 pm, Random832 wrote: > On Fri, Mar 18, 2016, at 20:55, Chris Angelico wrote: >> On Sat, Mar 19, 2016 at 9:03 AM, Marko Rauhamaa <ma...@pacujo.net> wrote: >> > Also, special-casing '\0' and '/' is >> > lame. Why can't I have "Results 1/2016" as a filename? >> >> Would you be allowed to have a directory named "Results 1" as well? > > If I were designing a new operating from scratch and didn't have to be > compatible with anything, I would probably have pathnames be tuples of > strings (maybe represented at the low level with percent-escaping), > rather than having a directory separator.
ls -l /home/user/documents/stuff/foo ls -l "home","user","documents","stuff","foo" I think users of command line tools and shells will hate you. -- Steven -- https://mail.python.org/mailman/listinfo/python-list