A set of python codes for Physics simulation