black-fractal/wikipedia-philosophy-game

Path file path based on OS type [Linux/Win]

black-fractal opened this issue · 0 comments

  • 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
  • Suggestion

    • This can be done in the form of a library