add prototype
This commit is contained in:
parent
f5d31ebc75
commit
a8b4302805
1 changed files with 10 additions and 0 deletions
10
prototyping/test_urllib.py
Normal file
10
prototyping/test_urllib.py
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
# %%
|
||||||
|
from urllib.parse import parse_qs, urlencode, urlparse, urlunparse
|
||||||
|
|
||||||
|
string = "blog.dev.local-it.cloud"
|
||||||
|
|
||||||
|
|
||||||
|
parsed_url = urlparse(string, scheme="https")
|
||||||
|
print(parsed_url)
|
||||||
|
|
||||||
|
print(urlunparse(parsed_url))
|
||||||
Loading…
Add table
Add a link
Reference in a new issue