Web Forms With Flask - Python and Flask #4

preview_player
Показать описание
Processing Web Forms With Flask is super easy! I'll show you how in this video!

Flask makes dealing with web forms pretty simple, I'll walk you through the process. We'll create a web form using the Bootstrap CSS framework, then set up Flask to process the form and add the form contents to variables on the backend that we can do whatever we want with.

We'll also add those form variables to a python list that we can then play around with!
Рекомендации по теме
Комментарии
Автор

▶️ Watch Entire Flask Playlist ✅ Subscribe To My YouTube Channel:
▶️ See More At: ✅ Join My Facebook Group:
Take $30 off with coupon code: youtube1

Codemycom
Автор

Excellent course for Flask and simple web forms! Thank you John!

blaineturner
Автор

I love how the end of the previous episode you discuss the importance of keeping the titles on the html page files, but immediately make a new page and define its title in the control file :'D at least I'm paying attention!

fierce
Автор

I am learning flask and i just found your tutorials, and you explain flask better that anyone

Flamiooo
Автор

Agree with the comments below: Excellent!. I do like it when you purposely show error messages to illustrate what is happening. I'll watch the next (#5) in this Python / Flask series. I'm really looking forward to your lesson using a database. Through my bumbling / stumbling I did manage to create a CRUD app with Python / Flask. It took me a while to get the Update function to work. I used MariaDB as the DB and the pymysql connector. I'm looking forward to seeing how you implement a database. Thanks for all your help. You are truly one of the best instructors!

chrisw
Автор

your explanations are always so good, great job and thanks.

alberthernandez
Автор

17:25
I died
'We got NOTHING'

dekito
Автор

if someone is getting error or printing value as none you may use request.args for get function and request.form for post function and becuse it use get by default first go for request.args

ajayrana
Автор

nice video!, but how to clear the submitted value ? because when i reload/refresh that page the value from the input before still there.

getpc-usib
Автор

Thanks for the video. Just a quick question at 4:08 when the form loads mine loads up on the far left of the page and not in the centre. I can't seem to figure out why this is the case. Do you have any ideas? Thanks in advance. EDIT: I've figured it out. Didn't wrap the form code in the <div> tag.

cricketer
Автор

Hello ! Thanki you for this amazing course. I have a issue emptying the form after submitting ! i used wtforms

ikeecode
Автор

I am using bootstrap input-groups to obtain data from users. Should I still use the request.from function or is there something different I should be using?

clb
Автор

I'm using Flask with the flask-dropzone (installed via pip) package to create a drag and drop file upload. When files are uploaded onto the upload area, they are stored in an uploads folder. What's the easiest way to have a button activate a Python script?

I'm converting a Tkinter project that totals some numbers from multiple Excel files and then returns another sheet with the totals. Ideally the Flask version would have a single button which takes all the uploaded files and combines the numbers, then triggers a download of the output file.

stephenwilson
Автор

I am getting an error "unindent does not match any outer indentation level" for the line in which you appended subscribers list.
I have already searched solutions but not unable to get any proper information.
Do you have any suggestions.

shubhamsahai
Автор

The following error occurs when adding methods=["POST"] to the route decorator. ::

File "C:\Users\writa\anaconda3\lib\crypt.py", line 9, in <module>
raise ImportError("The crypt module is not supported on Windows")
ImportError: The crypt module is not supported on Windows

writabratadey
Автор

Can I use this code to get the slide value as well. In my form I have a slide which range from 1 to10

gisamateur
Автор

Hi, i have wtform user input IntegerField 'X' and integerField 'Y' what can i do to have X+Y calculated and returned as result 'Z' automatically show in the field result without hitting a submit button. i looked all over the internet with no luck so it's either so easy that no one talk about it or i am not using the right words for the search. this could also be a nice short video thanks in advance

zrichelieu
Автор

Where did you get that request variable inside form function?

nirmalm
Автор

LOL we got nothing hahahaha so cool, man your amazing

leontalkdaliy
Автор

Sir! so this website we are creating, is it available across all devices or just the device we are using?

daggercentral