Really handy TCP port ping command with Python and Bash only.

I use this command so much when negotiating whether network, and firewalld, rules are configured that I felt obligated to post it.  If you need to ping a remote server TCP port then this is the command for you. I have test this on Red Hat Enterprise Linux, since that is what I use at…