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.
This one hits scarily close to home
I even use a non-POSIX shell (https://www.nushell.sh/), with my config synced with Syncthing
What was her roleplay fantasy? Asking for a friend.
At some point we all need to move away from insecure bash scripts.
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