<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_path_url(path, relative=False):
 """ Returns an absolute or relative path url given a path """

    if relative:
        return os.path.relpath(path)
    else:
        return 'file://%s' % os.path.abspath(path)