(main, May 23 2023, 13:34:03) [GCC 10.2.1 20210110] on linux 3 Type "help", "copyright", "credits" or "license" for more information. 4 >>> from urllib.parse import urlparse 5 6 >>> urlparse("http://example.com") 7 ParseResult(scheme='http', netloc='example.com', path='', params='', query='', fragment='') 8 9 >>> urlparse(" http://example.com") 10 ParseResult(scheme='', netloc='', path=' http://example.com', params='', query='', fragment= 5 / 11