Search found 2 matches
Search found 2 matches • Page 1 of 1
Doesn't work on Pycom's version of urequests. File "/flash/lib/urequests.py", line 112, in get TypeError: function does not take keyword arguments import usocket class Response: def __init__(self, f): self.raw = f self.encoding = "utf-8" self._cached = None def close(self): if self.raw: self.raw.clo...
- Sun Nov 18, 2018 11:02 pm
- Forum: Programs, Libraries and Tools
- Topic: uPing - Ping library for MicroPython
- Replies: 17
- Views: 3460
I can't get this to run on a pycom gpy. File "/flash/lib/uping.py", line 46, in ping AttributeError: 'function' object has no attribute 'randint' which I fudged with h.id=100 as a workaround then File "/flash/lib/uping.py", line 51, in ping AttributeError: 'module' object has no attribute 'SOCK_RAW'...