Path file path based on OS type [Linux/Win]
black-fractal opened this issue · 0 comments
black-fractal commented
-
Describtion
- The relative path of the files should be based on the type of operating system. In the case of Windows, it should be delimited by the \ characters and in the case of Unix/Linux, it should be delimited by the / character.
-
Solution
- It should be handled using a function:
- Input:
list of directories on the path, OS_type
- output:
relative path in string type
- Input:
- It should be handled using a function:
-
Suggestion
- This can be done in the form of a
library
- This can be done in the form of a