I'm fairly new to python in general so I apologize if I'm missing something obvious here but I can't seem to get the urlopen command to work at all. Just using the original example of f=urllib.urlopen('http://www.microsoft.com
') or any other url in its place gives me errors:
File "/flash/lib/urllib.py", line 82, in urlopen
File "/flash/lib/urllib.py", line 25, in __init__
I also don't understand the difference between the different urequest libraries that I see. The one that's packaged with wipy-urllib-master and then further in the thread there's one that's called urequest that's slightly different. I'm just trying to use it to load json data from a url so a simple load of the url is all I need.
I've looked through documentation and all the different posts related to the micropython urllib but I don't know enough about it to figure out what's wrong.
Any guidance would be greatly appreciated.
(I'm running a Wipy board w/expansion, OS 1.2.0 connected to my home wifi)