I have a python script running inside a container of kubernetes pod.How do i stop the script which runs along with the starting of the pod?

Solution
OSError: [Errno 98] Address already in use (edited)