@pimms.param<EOL><INDENT>def source_path(sp):<DEDENT>
if sp is None: return os.path.join('<STR_LIT:/>')<EOL>if not pimms.is_str(sp): raise ValueError('<STR_LIT>')<EOL>if is_url(sp) or is_s3_path(sp): return sp<EOL>return os.path.expanduser(os.path.expandvars(sp))<EOL>
pseudo_dir.source_path is the source path of the the given pseudo-dir object.