Python is great for scripting, but the advantages of nu and powershell are the ease of interacting with system utilities and the availability of common commands like ls etc.
of course, you can always do subprocess.run or os.listdir(), but that is not as simple as scripting in nu or powershell.
I personally do most of my heavy scripting in python
Python is great for scripting, but the advantages of nu and powershell are the ease of interacting with system utilities and the availability of common commands like
ls
etc.of course, you can always do
subprocess.run
oros.listdir()
, but that is not as simple as scripting in nu or powershell.This is true
Although, i find this isn’t as much an issue if you use python’s STL as much as you can
Pathlib and shutil are really handy for file manips
But, yea interfacing with external CLI utilities like git is a PITA
Oh there’s also xonsh which is just a shell built put of python