22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
-
+
|
xrange = xrange
range = xrange
unicode = unicode
# urllib modules
import urllib
import urllib2
from urllib import quote_plus as urlencode, unquote as urldecode
from urllib import quote_plus as urlencode, unquote as urldecode, quote as urlquote
import urlparse
import cookielib
# filesys
from StringIO import StringIO
from gzip import GzipFile
def gzip_decode(bytes):
|
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
-
+
|
xrange = range
unicode = str
unichr = chr
# urllib modules
import urllib.request as urllib
import urllib.request as urllib2
from urllib.parse import quote_plus as urlencode, unquote as urldecode
from urllib.parse import quote_plus as urlencode, unquote as urldecode, quote as urlquote
import urllib.parse as urlparse
from http import cookiejar as cookielib
# filesys
from io import StringIO
from gzip import decompress as gzip_decode
|