clean up .pyc
handle short ipaddr/nm