public readonly property file as String:
Returns the file component (path plus optional query string).
path
import klyn.net url = URL("https://example.com/api?q=1") print(url.file)