I\'m trying to learn python (using the Flask micro-framework) and I am confused because somewhere in my code i\'m keeping the server open I believe.
I spin up my ser
To kill the python process which is listening on port 5000 :
sudo lsof -i :5000 | grep "python" | cut -d " " -f3 | xargs kill -9