I am using python 3.5 and have a network address string like the following:
tcp://10.1.2.3:45678
I want to parse this string and extract the protocol, the ip address and the port number.
I know I can do this very easily with a string split or regex, however I was wondering if there is a python package or module that does this. I am sure that there is a specification for these string which defines them, hence I am interested in a python module instead of using regex or string parsing.