19
20
21
22
23
24
25
26
27
28
29
30
31
32 | # version tags
PY2 = 1
PY3 = 0
# basic functions
xrange = xrange
range = xrange
# urllib modules
import urllib
import urllib2
from urllib import urlencode
import urlparse
import cookielib |
>
| 19
20
21
22
23
24
25
26
27
28
29
30
31
32
33 | # version tags
PY2 = 1
PY3 = 0
# basic functions
xrange = xrange
range = xrange
unicode = unicode
# urllib modules
import urllib
import urllib2
from urllib import urlencode
import urlparse
import cookielib |
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58 |
# version tags
PY2 = 0
PY3 = 1
# basic functions
xrange = range
# 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
|
>
| 41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60 |
# version tags
PY2 = 0
PY3 = 1
# 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
|