The `os.path.join` function is used inappropriately throughout the code, which makes it dependent on the fact that `/` is used as a directory separator.
The
os.path.joinfunction is used inappropriately throughout the code, which makes it dependent on the fact that/is used as a directory separator.