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

This could be quite a bit shorter and more readable in half as many lines of Python.



But bash is likely available wherever you'd like to run this.


So is Python.


Which version though?


Yeah, this is like manual vs. an electric can opener. Sometimes it's nice to have a posix script you can just drop in. I use a 200+ line bash script to set up/manage/and use my python environments and projects instead of python.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: