Also, you could also use [os.pathsep](http://docs.python.org/2/library/os.html#os.pathsep) to get the platform-specific path separator character.