a collection of some basics in python