Eeew, eew, eew. Use `path.py`!
```python
dir = path(__file__).abspath().parent.parent
os.chdir(dir)
```