How do I run Python on Linux?

How do I run Python on Linux?
Answer
Running a Script
  1. Open the terminal by searching for it in the dashboard or pressing Ctrl + Alt + T .
  2. Navigate the terminal to the directory where the script is located using the cd command.
  3. Type python SCRIPTNAME.py in the terminal to execute the script.
 

Tìm kiếm

Back
Top