python - Differences between use of os.path.join and os.sep ...
2 Answers Sorted by: 24 It's right there in the documentation: os.path.join (path1 [, path2 [, ...]]) Join one or more path components intelligently. If any component is an absolute path, all previous components (on Windows, including the previous drive letter, if there was one) are thrown away, and joining continues.