Some various python code