With some gentle nudging (thanks @tve) I've made some progress.
I'm noticing however, that with libraries like urequests, on the unix platform I need to import them as follows:
Code: Select all
from urequests import urequests
Code: Select all
import urequests
Code: Select all
print(urequests.get("http://example.com").text)
Code: Select all
import sys
if 'linux' == sys.platform:
from urequests import urequests
else:
import urequests
Can anyone let me in on what is different between the two platforms that would cause this?