You can just use [os.path.join](https://docs.python.org/2/library/os.path.html#os.path.join) here.