2 ms·
It's not an issue in Python. You would use https://docs.python.org/3/library/os.html#os.listdir https://docs.python.org/3/library/os.html#os.listdir in Python w
by IshKebab 2y ago
It's not an issue in Python. You would use https://docs.python.org/3/library/os.html#os.listdir https://docs.python.org/3/library/os.html#os.listdir in Python which returns a proper list of strings, not a string with in-band delimiters.
> Python and shell are different; each are good at different things.
I agree there. Shell is good for interactive use and throwaway scripts that you don't dare share with anyone.
Python is good for scripts that you want to actually work without supervision. (Though Python is just an example; I would recommend Deno if you are actually scripting stuff.)