code: def relativesymlink(src_file, dest_file):
      
      # Perform relative symlinking
      try:
          print(os.path.relpath(src_file), os.path.relpath(dest_file))
          os.symlink(
              # Find the relative path for the source file and the destination file
              os.path.relpath(src_file),
              os.path.relpath(dest_file)
          )
      # Except os errors
      except OSError as exception:
          # If the os error is anything but directory exists, then raise
          if exception.errno != errno.EEXIST:
              raise
docs: https://stackoverflow.com/questions/9793631/creating-a-relative-symlink-in-python-without-using-os-chdir
      :param src_file: the file to be linked
      :param dest_file: the path and filename to which the file is to be linked