get_relative_path#

get_relative_path(datadir)[source]#

Get the path relative for the datadir.

Parameters:

datadir (str) – path to a specified data directory

Returns:

A path relative to a specified data directory datadir

Return type:

str