Collection of various python code