Vân Anh Nguyen
Member
How do I run python code in Ubuntu terminal?
Answer
Running a Script
Answer
Running a Script
- Open the terminal by searching for it in the dashboard or pressing Ctrl + Alt + T .
- Navigate the terminal to the directory where the script is located using the cd command.
- Type python SCRIPTNAME.py in the terminal to execute the script.