1 | 2 | 3 Next
1 | 2 | 3 Next
All Samples(5712) | Call(4801) | Derive(0) | Import(911)
Encode a sequence of two-element tuples or dictionary into a URL query string. If any values in the query arg are sequences and doseq is true, each sequence element is converted to a separate parameter. If the query arg is a sequence of two-element tuples, the order of the parameters in the output will match the order of parameters in the input.
All Samples(4566) | Call(3898) | Derive(0) | Import(668)
quote('abc def') -> 'abc%20def'
Each part of a URL, e.g. the path info, the query, etc., has a
different set of reserved characters that must be quoted.
RFC 2396 Uniform Resource Identifiers (URI): Generic Syntax lists
the following reserved characters.
reserved = ";" | "/" | "?" | ":" | "@" | "&" | "=" | "+" |
"$" | ","(more...)
All Samples(2590) | Call(2240) | Derive(0) | Import(350)
Create a file-like object for the specified URL to read from.
All Samples(1396) | Call(1238) | Derive(0) | Import(158)
Quote the query fragment of a URL; replacing ' ' with '+'
All Samples(593) | Call(481) | Derive(41) | Import(71)
class to add info() and geturl() methods to an open file.
All Samples(592) | Call(536) | Derive(0) | Import(56)
splittype('type:opaquestring') --> 'type', 'opaquestring'.
All Samples(245) | Call(55) | Derive(165) | Import(25)
Derived class with handlers for errors we can handle (perhaps).
All Samples(415) | Call(372) | Derive(0) | Import(43)
OS-specific conversion from a file system path to a relative URL of the 'file' scheme; not recommended for general use.
All Samples(395) | Call(316) | Derive(0) | Import(79)
OS-specific conversion from a relative URL of the 'file' scheme to a file system path; not recommended for general use.
All Samples(392) | Call(347) | Derive(0) | Import(45)
splithost('//host[:port]/path') --> 'host[:port]', '/path'.
All Samples(306) | Call(259) | Derive(0) | Import(47)
splituser('user[:passwd]@host[:port]') --> 'user[:passwd]', 'host[:port]'.
All Samples(153) | Call(143) | Derive(0) | Import(10)
Join a base URL and a possibly relative URL to form an absolute interpretation of the latter.
All Samples(142) | Call(93) | Derive(4) | Import(45)
Class used by open_ftp() for cache of open FTP connections.
1 | 2 | 3 Next