use
```python
os.pathsep.join([full)libpath] + [x for x in os.environ.get('PYTHONPATH', '').split() if len(x) > 0])
```