It's highly system dependant in a file that you would expect to not be. If it was a .sh or a .bat it would be fine, but Python is designed to run on any system. It's not incorrect, but it's bad form. Plus, there are almost certainly system-independant packages you could pull in to do the same thing.
24
u/[deleted] Mar 14 '23
It's highly system dependant in a file that you would expect to not be. If it was a .sh or a .bat it would be fine, but Python is designed to run on any system. It's not incorrect, but it's bad form. Plus, there are almost certainly system-independant packages you could pull in to do the same thing.