some python codes

for tomorrow use