Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It depends, for other python REPL/Env not really but it is the standard way to call shell command from ed [1] for example. Julia have also a shell mode in its REPL [2]. Personally, I like to use Raku [3] instead of Python or Shell script. It make it easy to drop one-liner, call shell commands [4] and you can super easily make a script a small CLI utilities by writing a MAIN sub [5].

[1] https://www.gnu.org/software/ed/manual/ed_manual.html#Comman...

[2] https://docs.julialang.org/en/v1/stdlib/REPL/#man-shell-mode

[3] https://raku.org/

[4] https://docs.raku.org/language/quoting#index-entry-quote_qqx...

[5] https://docs.raku.org/language/create-cli



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: