draining the python