Closed MvWouden closed 1 year ago
Thank you for your help in making the code OS-agnostic!
Thank you for your help in making the code OS-agnostic!
@wutong16 Did you happen to test out the changes already?
Yes. The code runs correctly on my Linux with the changes above (after adding an import os
) :D.
To allow the code to be OS-agnostic (e.g. non-wsl Windows users can use it as well), I propose a few small changes:
os.path.join
.cp
andrm
commands to use built-in python methods (shutil
oros
)..bat
scripts for Windows alongside the already existing.sh
scripts.Please let me know how you feel about this. I'd be willing to make some more changes if required. If you could, it would be nice if you can run the code once (e.g on Unix) to see that everything still works as expected.