Added to useful python code