Is there a difference between usocket and socket?
Posted: Sun Jun 30, 2019 12:06 pm
Are there any differences between import socket and import usocket
This micropython 1.11 document (https://docs.micropython.org/en/latest/ ... twork.html) uses the following import
But this example, for the esp 8266 which also works on the Pyboard-d ( https://docs.micropython.org/en/latest/ ... k_tcp.html) just uses import socket
This micropython 1.11 document (https://docs.micropython.org/en/latest/ ... twork.html) uses the following import
Code: Select all
# now use usocket as usual
import usocket as socket