urllib.error.URLError: <urlopen error unknown url type: 'https>
(Python 3.4.2) I've got a weird error when I run 'urllib.request.urlopen(url)' inside of a script. If I run it directly in the Python interpreter, it works fine, but not when I run it inside of a script through a bash shell (Linux). I'm guessing it has something to do with the 'url' string, maybe because I'm creating the string through the 'string.join' method. import urllib.request url = "".join((baseurl, other_string, midurl, query)) response = urllib.request.urlopen(url) The 'url' string prints perfectly, but when I try to create the 'response' string, I get this output: File "./script.py",