Jan-18-2018, 10:41 AM
Hi
Newbie here. I have searched for this but cannot see an answer, apologies if I've missed something...
I'm currently learning python but am running a script someone has created each day.
The way they've told me to run the script (laptop/windows) is to go into the cmd line and then to locate the programme eg by typing cd desktop then cd folder_name and continue for each subfolder
Then to python programme_name.py and return
This feels a bit long winded
I've opened up the programme_name.py file directly and pressed return and then it (appears to) run ok.
Is this the best way of executing the code (ie rather than via cmd line)?
Newbie here. I have searched for this but cannot see an answer, apologies if I've missed something...
I'm currently learning python but am running a script someone has created each day.
The way they've told me to run the script (laptop/windows) is to go into the cmd line and then to locate the programme eg by typing cd desktop then cd folder_name and continue for each subfolder
Then to python programme_name.py and return
This feels a bit long winded
I've opened up the programme_name.py file directly and pressed return and then it (appears to) run ok.
Is this the best way of executing the code (ie rather than via cmd line)?