python related codes