On Sat, Mar 19, 2016 at 7:38 PM, Steven D'Aprano <[email protected]> wrote:
> 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.
You misunderstand him. He doesn't want path names like that. He wants
JSON, remember?
{"command": "ls", "options": ["-l"], "arguments":
[["home","user","documents","stuff","foo"]]}
Of course, if this is too long, you can omit the spaces in between.
ChrisA
--
https://mail.python.org/mailman/listinfo/python-list