Remove the Beginning of an Absolute Path to Make a Relative Path [python]
The Code
Notes
-
The
clip_pathcan end with a/or not. In either case, the returned value is not absolute (i.e. it does not start with a leading/)
The clip_path can end with a /
or not. In either case, the returned
value is not absolute (i.e. it does
not start with a leading /)