this post was submitted on 26 Apr 2024
327 points (93.4% liked)
linuxmemes
20776 readers
580 users here now
I use Arch btw
Sister communities:
- LemmyMemes: Memes
- LemmyShitpost: Anything and everything goes.
- RISA: Star Trek memes and shitposts
Community rules
- Follow the site-wide rules and code of conduct
- Be civil
- Post Linux-related content
- No recent reposts
Please report posts and comments that break these rules!
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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