Examples os.Path usage examples. Example 1: Extracting the parts of a file name Example 2: Browsing directories