In Python 3, there is a urllib library and we can use its parse module (documentation), i.e. from urllib.parse import urlparse def valid_url(to_validate:str) -> ...
確定! 回上一頁