How to store the html form data into database using python frappe without using webform

I create the html file inside the www folder. I access the file using mylocalsite/myhtmlfile. Now how can i store the html form data into the database. I am using mariadb. Is it possible to store the data without using webform. I need the source code.

Hey, have you got how to do this thing. If Yes please teach me how to do this.

Yes, you should use webpage module in erpnext to write html and javascript code and call the python function using rest api