common python codes