html to variable

Discussion about programs, libraries and tools that work with MicroPython. Mostly these are provided by a third party.
Target audience: All users and developers of MicroPython.
User avatar
jimmo
Posts: 2754
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: html to variable

Post by jimmo » Thu Apr 30, 2020 12:30 am

lalongo wrote:
Wed Apr 29, 2020 12:34 pm
"i search in 'request 'variable and retrieve data"
I suspect they're referring to using the "in" operator in Python to see if a substring exists in another string.

i.e.

Code: Select all

if 'foo' in request:

DevNerdChic
Posts: 11
Joined: Wed Feb 23, 2022 5:58 pm

Re: html to variable

Post by DevNerdChic » Sun Apr 03, 2022 1:49 pm

lalongo wrote:
Wed Apr 29, 2020 12:34 pm
Hello Bellad,

I have the same issue than you but I cannot understand what do you mean by :
"i search in 'request 'variable and retrieve data"
Can you be more specific ? It would be really helpfull :D

Thanks
I would love to know how you did it as well, I have accomplished it myself, but I wondered if there's a better way to get it without using microdot. I too didn't want to add that much code to my project to get the input from 4 small text fields.

Post Reply