Chilkat2-Python
Chilkat2-Python
Example: Http.GetUrlPath method
Demonstrates theGetUrlPath method.
Chilkat Chilkat2-Python Downloads
import chilkat2
success = False
http = chilkat2.Http()
url = "https://example.com/folder/page?lang=en&sort=asc#section2"
print(http.GetUrlPath(url))
# Output:
# /folder/page