Skip to content
Upload a file with html and process it with python
Profile icon

Hi, I would like to ask the following:
Is there a simple way to process a file uploaded via html using python? I tried many tutorials that didn't work or were to complicated to adjust to my wishes. The code should do the following:

  1. Get the output from a html
<input type='file'>

2. Process it using my script which will generate a file name and create a file (With the content of the uploaded file)

Thanks in advance

You are viewing a single comment. View All
Answered by NoelB33 [earned 5 cycles]
View Answer
Profile icon

Thanks, with some fiddeling it works now!