DEV Community

Discussion on: Where does Python Shine Over Node?

Collapse
 
gwutama profile image
Galuh Utama

I think it depends on your goals. I mainly use Python for replacing bash because it’s easier to maintain Python source code as opposed to bash scripts. For my use case Python is perfect because I know that the interpreter is installed by default on mac and linux and so I can just run the script without having to install anything, except when my Python script uses non-standard libraries, which is quite seldom.

I think Python is more popular in data science, AI and image processing due to libraries and bindings such as tensorflow, numpy, scipy, pandas, opencv, etc. being available officially for python. Some of these libraries are also available on npm but they are not official ones so support from the package mantainers is kind of questionable.

I‘d say if js and node can fulfill your goals just fine, then you should use them.