mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-09 17:15:35 +00:00
10 lines
222 B
Python
10 lines
222 B
Python
try:
|
|
import httplib
|
|
from urllib2 import urlopen
|
|
from urllib import urlencode
|
|
except ImportError:
|
|
import http.client as httplib
|
|
from urllib.request import urlopen
|
|
from urllib.parse import urlencode
|
|
|