I am on a computer where i the web view terminal is blocked, so i was wondering, how do i run code in shell(python, c++).
Welcome to the community! Can you please clarify your post and provide a link to your repl?
2 Likes
To run a python file from the shell, you can type:
$ python PATH/TO/SCRIPT.py
For a c++ file, you can type:
$ g++ PATH/TO/SCRIPT.cpp
$ ./a.out
1 Like
Could you make that a wiki post so I can add more languages?
1 Like