What will we learn?
- Tutorial lecture with Python / Series 1 ( Applied File System Description )
![]()
Requirements:
- Notepad+
- Operating System
- Python
Difficulty Level:
- Normal Level
Let's Start the Course :
File Uploads with Python
In our previous post, we may ask users to upload their images, required documentation, or any other files via the form we made.
Let's start by organizing our form design first.
<form action="send.py" method="post" enctype="multipart/form-data">
<input type="file" name="picture">
<input type="text" name="name" placeholder="Write your name.">
<input type="text" name="lastname" placeholder="Write your last name.">
<input type="text" name="email" placeholder="Type your email address.">
<button type="submit">SEND</button>
</form>
As you can see here, we have added the "enctyre" parameter inside the "