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 urlencode
import urlparse
import cookielib
# filesys
from StringIO import StringIO
from gzip import GzipFile
def gzip_decode(bytes):
|
|
|
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 urlencode, unquote as urldecode
import urlparse
import cookielib
# filesys
from StringIO import StringIO
from gzip import GzipFile
def gzip_decode(bytes):
|
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# basic functions
xrange = range
unicode = str
# urllib modules
import urllib.request as urllib
import urllib.request as urllib2
from urllib.parse import urlencode
import urllib.parse as urlparse
from http import cookiejar as cookielib
# filesys
from io import StringIO
from gzip import decompress as gzip_decode
|
|
|
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# basic functions
xrange = range
unicode = str
# urllib modules
import urllib.request as urllib
import urllib.request as urllib2
from urllib.parse import urlencode, unquote as urldecode
import urllib.parse as urlparse
from http import cookiejar as cookielib
# filesys
from io import StringIO
from gzip import decompress as gzip_decode
|