insidesherpa / JPMC-tech-task-1-PY3

50 stars 447 forks source link

NameError: name 'urllib' is not defined #211

Open AlexanderPach opened 3 years ago

AlexanderPach commented 3 years ago

On client.py I'm receiving the issue on line 52

quotes = json.loads(urllib.urlopen(QUERY.format(random.random())).read())

And I keep getting a message that reads: NameError: name 'urllib' is not defined

However, I believe it is due to the fact that I am running Python 3 and the urllib does not work with my version.