Offer tools similar to os.path but taking the os of the server into account to create path.

ansys.dpf.core.path_utilities.join(*args, **kwargs)#

Join two strings to form a path, following the server architecture. Using a server version below 3.0, please ensure that the python client and the server’s os are similar before using this method.

  • args (str, os.PathLike, LegacyGrpcServer) – Path to join and optionally a server.

  • kwargs (LegacyGrpcServer) – server=.

  • server (Server) – Specific server to use.


concatenated_file_path – left_path + right_path concatenated into a single string value.

Return type: