naucse.python.cz icon indicating copy to clipboard operation
naucse.python.cz copied to clipboard

MI-PYT MicroPython - použít urequests

Open encukou opened this issue 6 years ago • 4 comments

Už by nemělo být potřeba používat přímo sockets.

import urequests
urequests.get('http://...')

encukou avatar Aug 19 '17 10:08 encukou

ale to neni soucasti standard buildu co se da stahnout ne? si tam musis dohrat tu knihovnu napred?

vlinhart avatar Aug 26 '17 15:08 vlinhart

Mela by to byt soucast oficialniho buildu

On Aug 26, 2017 5:35 PM, "vlinhart" [email protected] wrote:

ale to neni soucasti standard buildu co se da stahnout ne? si tam musis dohrat tu knihovnu napred?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pyvec/naucse.python.cz/issues/181#issuecomment-325138868, or mute the thread https://github.com/notifications/unsubscribe-auth/AASfSvx792qVeZSqEg4EYaX-BlJ26SB6ks5scDskgaJpZM4O8Suc .

encukou avatar Aug 26 '17 16:08 encukou

Unixová varianta micropythonu verze 1.9.2 to nemá.

hroncok avatar Sep 29 '17 15:09 hroncok

Kde to není, tam by teoreticky mělo jít něco jako:

import upip
upip.install('urequests')

Ale ještě jsem to pořádně nezkoušel.

encukou avatar Feb 12 '18 15:02 encukou