Tags » path-problems
Why is os.sep insufficient for path operations?
Digging into a throwaway comment in the Python documentation.
A tale of two path separators
macOS allows both the slash and colon as path separators, and this caused me no small amount of confusion.
S3 prefixes are not directories
Although an S3 prefix looks a lot like a directory path, they aren’t the same. Whether or not you include a trailing slash can change the behaviour.
S3 keys are not file paths
Although an S3 key looks a lot like a file path, they aren’t always the same, and the distinction can trip you up.