DEV Community

Discussion on: Why learn Python as a DevOps Engineer? 🤔

Collapse
 
darkwiiplayer profile image
𒎏Wii 🏳️‍⚧️

Regarding bash not being platform independent: This is kinda true, but not complerely: you can perfectly run bash on windows; the problem is actually not the language, but that bash relies on other programs for most tasks that actually do something, and that's what makes it a bit more difficult to write a bash script that works exactly the same on windows and on linux. As for how powerful both languages are, consider that bash is a DSL built precisely for manipulating the filesystem and running other programs, so it's definitely more powerful that Python in that regard.