Codes In Python For Training Artificial Neural Network Using Particle Swarm Optimization