I've created a form in html (code for that is below). I was wondering if there is a way for me to, using javascript, output the inputs of this form onto a text file on my desktop. So when someone fills in the form and presses submit, a new text file will be created with the two inputs on separate lines. I am then going to read this text file in python.
Or
if the results from the form could go straight to python instead?
<form>
School:<br>
<input type="text" name="schoolname"><br>
School code:<br>
<input type="text" name="schoolcode"><br>
<input type="submit" value="next">
</form>