This only allows for a single temporary directory, and loses part of the benefit of using a temporary path. If you switch this to use [mkdtemp](https://docs.python.org/2/library/tempfile.html#tempfile.mkdtemp) it will return the absolute path. You can even specify a prefix or suffix if you want to influence the name.