Python in node.js
So I saw a great repl in share that runs python code with JavaScript and node.js. Then I became aware of child_process, a npm module that executes shell scripts. It literally runs python code.py
.
Voters
RayhanADev
lmao gg, that’s a good one!
but did you know, you can run it via a .replit
file!
create one and type run = python code.py
RowanFromBJC
@RayhanADev oh yeah, didn't think of that!
How come when i copy and paste this it doesnt work?