poco.utils.six module¶
Utilities for writing code that runs on Python 2 and 3
-
class
Module_six_moves_urllib
[源代码]¶ 基类:
module
Create a six.moves.urllib namespace that resembles the Python 3 namespace
-
class
Module_six_moves_urllib_error
(name)[源代码]¶ 基类:
poco.utils.six._LazyModule
Lazy loading of moved objects in six.moves.urllib_error
-
class
Module_six_moves_urllib_parse
(name)[源代码]¶ 基类:
poco.utils.six._LazyModule
Lazy loading of moved objects in six.moves.urllib_parse
-
class
Module_six_moves_urllib_request
(name)[源代码]¶ 基类:
poco.utils.six._LazyModule
Lazy loading of moved objects in six.moves.urllib_request
-
class
Module_six_moves_urllib_response
(name)[源代码]¶ 基类:
poco.utils.six._LazyModule
Lazy loading of moved objects in six.moves.urllib_response
-
class
Module_six_moves_urllib_robotparser
(name)[源代码]¶ 基类:
poco.utils.six._LazyModule
Lazy loading of moved objects in six.moves.urllib_robotparser
-
int2byte
()¶ S.pack(v1, v2, …) -> bytes
Return a bytes object containing values v1, v2, … packed according to the format string S.format. See help(struct) for more on format strings.