Image/files upload through webpages

I have created a html form in a webpage. The form allows users to upload files and images.

I encode the images into base64 using JavaScript and send it the doctype with

Pls how to I decode the base64 image on the server-side using python and save it to /mysite.local/public/files ?

Any suggestion will be greatly appreciated.


how are send the data to your doctype from your html form