Issue
I have a python program that can be executed by navigating to the folder it is located in using cd, and using the
python3 main.py
command. Is there any way I can assign a hotkey to run this program, or at least open console, navigate to that folder, and execute the program?
Solution
On the top of the terminal you can see a button to add the shortcut. After that add the file path as command then set the shortcut
Answered By - user19419589 Answer Checked By - Pedro (WPSolving Volunteer)