May-19-2023, 02:56 PM
(This post was last modified: May-19-2023, 02:56 PM by pyscript_dude.)
Hi,
I am trying to embed a python script into an html page via pyscript. I want to call the input from an html form. In python script, if I use
I am trying to embed a python script into an html page via pyscript. I want to call the input from an html form. In python script, if I use
input = "word"everything works fine, however if I use
word = Element('word').valuethen it givesError:IndexError: range object index out of rangeOf course I used an html form as follows <form onsubmit="return false">
<label>Enter the word:</label>
<input type="text" id="word">
</form>Any ideas and suggestions to solve this problem would be appreciated. Thank you.
