In Transcrypt I try to read JSON data from a URL, so I try:
import urllib.request
data = urllib.request.urlopen(data_url)
But I get the error "Import error, can't find [...] urllib.request". So urllib.request
doesn't seem to be support; strangely though the top-level import urllib
works, but with this I do not get to the urlopen()
function...
Any idea where urlopen()
is located in Transcrypt? Or is there another way to retrieve URLs?