Closed museyooni closed 2 years ago
Since this code is likely to run at cross platforms (Windows, Mac, Linux), I think it is better to go with
from sys import platform
if platform == "linux": # Linux
elif platform == "darwin": # Mac OS
elif platform == "win32": # Windows
Since Windows does not suppport .sh
files natively and need to be run by .bat
, I will search for other options including generating a .bat
file on Windows — but for now, we will just stick on to Linux and Mac.
Since I have updated execute.py
to run at both Mac OS and Linux, this branch is no longer needed and I will delete this for now. If there are any problems regarding the code, inform me anytime.
Updated to execute this on linux. The main change is the location of the bash shell, on line 13