Python codes I am using