Python Flask Beginner Tutorial - Todo App - Crash Course

Python Flask Beginner Tutorial - Todo App - Crash Course

Patrick Loeber

4 года назад

84,795 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Sawa Itō
Sawa Itō - 12.03.2023 07:16

Lol, flask is a lot easier than django. I don't know why i'm learning django and not flask 🤨

Ответить
Joey Galler
Joey Galler - 18.01.2023 10:00

GOOD DAY SIR
I MAY BE HAVING A PROBLEM ON THE DB_SQLITE TABLE
I WONT AUTOMATICALLY CREATE ANOTHER FOLDER
I FOLLOW ALL YOUR INSTRUCTIONS BUT IT WONT JUST CREATE ANOTHER FOLDER AND JUST HAVE AN ERROR

Ответить
Ashish Bhardwaj
Ashish Bhardwaj - 09.01.2023 17:02

Hello Sir. Great tutorial, especially for a beginner. I created the app following the tutorial, but, when I tried deploying it using Vercel, it showed "500 Internal Server Error". However, it works perfectly fine when I tested it using the terminal on my local server... Please provide guidance

Ответить
Mohammed choupaqee
Mohammed choupaqee - 26.12.2022 07:47

It is an excellent course tutorial with professional Engine Good Luck ,

Ответить
J Bruce
J Bruce - 01.12.2022 22:28

Not getting "db.sqlite" to create. I will post my code below. working on a Mac like the video. even tried adding the "with app.app_context():" that other commenters have suggested. no luck

Ответить
princy singh
princy singh - 28.11.2022 07:27

Get this error while activate env...someone help me out

error:-
PS C:\Users\THIS\Pictures\flask-todo> \Python27\Scripts\virtualenv.exe venv
\Python27\Scripts\virtualenv.exe : The term '\Python27\Scripts\virtualenv.exe' is not recognized as the
name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a
path was included, verify that the path is correct and try again.
At line:1 char:1
+ \Python27\Scripts\virtualenv.exe venv
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (\Python27\Scripts\virtualenv.exe:String) [], CommandNotF
oundException
+ FullyQualifiedErrorId : CommandNotFoundException

Ответить
TheAmazinRaven
TheAmazinRaven - 04.11.2022 01:04

To anyone having issues w the SQLAlchemy thingy or the app not running properly add this below your todo class (under it, not in it):

with app.app_context():
db.create_all()

A really kind stranger in a Discord helped me solve this & I wanted to pay it forward. :)

Ответить
M.C.T. Manullang
M.C.T. Manullang - 12.10.2022 11:07

As of Flask-SQLAlchemy 3.0, all access to db.engine (and db.session) requires an active Flask application context. db.create_all uses db.engine, so it requires an app context.

Ответить
ssk
ssk - 10.10.2022 20:52

Very good tutorial! I wish to add the functionality of deleting all the items at once by the click of a button ('Clear todos', for example). Does someone know how I could do this?

Ответить
BizzyBee
BizzyBee - 01.10.2022 10:32

Thank you for the awesome tutorial!

Ответить
Bryan Chambers
Bryan Chambers - 30.09.2022 07:41

Why whenever I try to learn stuff like this all I ever get are error messages and I never get the correct result even if I copy everything exact?

Ответить
Bryan Chambers
Bryan Chambers - 30.09.2022 06:22

Could you mind please explain why you Visual Studio instead of say Jupyter. I tried following this in a Jupyter notebook but the program crashed and couldn't create a web page. It would have been helpful if you gave a little explanation about why you are using Visual Studio and whether it must be done exactly like that. I did everything the same way in visual studio and got the same error again.

Ответить
Tamton Aquib
Tamton Aquib - 22.09.2022 21:19

Lol tf was that voice

Ответить
juniven saavedra
juniven saavedra - 10.09.2022 23:29

Excellent content. Thank you very much. :D

Ответить
Ali Haider
Ali Haider - 23.08.2022 13:55

A very well explained tutorial, totally understandable..

Ответить
Akash Pardeshi
Akash Pardeshi - 06.07.2022 12:58

I'm stuck on one error Windows is not support crypt any Idea how to solve it? I'm using VS Code and Windows 10

Ответить
Collins Ngetich
Collins Ngetich - 02.07.2022 15:52

Great Tutorial

Ответить
Keyser The Red Beard
Keyser The Red Beard - 08.06.2022 01:32

impressive upload Python Engineer. I killed that thumbs up on your video. Continue to keep up the exceptional work.

Ответить
Adão Oliveira
Adão Oliveira - 05.06.2022 04:22

Perfect! Simple and clear, like always.

Ответить
MIKE DO IT
MIKE DO IT - 12.05.2022 14:43

This greate content! Awesome

Ответить
Papa Smoke
Papa Smoke - 29.04.2022 23:54

One thing i don’t understand is: why does he create a new database every time the program gets run. wouldn’t it be better to check if a db exists?

Ответить
emma chuks udeji
emma chuks udeji - 23.04.2022 02:49

thanks again

Ответить
Ombrébyaarti
Ombrébyaarti - 30.03.2022 17:17

Thanks for sharing…it help to improve.

Ответить
𝑨𝒌𝒊𝒓𝒂 𝑨𝒔𝒂𝒊
𝑨𝒌𝒊𝒓𝒂 𝑨𝒔𝒂𝒊 - 30.03.2022 15:35

I love the Semantixc UI! It is very easy to style the page! And I liked your video as well and subscribed! Amazing content! Keep it up the good videos! It helps on my programming ❤️🙏

Ответить
Malcolm Richardson
Malcolm Richardson - 30.03.2022 03:02

Thank you! Great tutorial!

Ответить
Yusuf Sönmez
Yusuf Sönmez - 28.03.2022 09:56

Great tutorial

Ответить
Aleksander Szycik
Aleksander Szycik - 16.03.2022 00:52

Super!
Thanx for it!

Ответить
Gowtham Bhat
Gowtham Bhat - 15.02.2022 23:47

great tutorial

Ответить
Ammar Sajjid
Ammar Sajjid - 23.01.2022 18:50

Thank You for the video.

Ответить
Harry Ayce
Harry Ayce - 22.01.2022 04:06

What about implementing "create","delete" etc in an async manner?

Ответить
abdullah
abdullah - 21.01.2022 14:14

Hey, how would I make it so each user that logins in has their own task app?

Ответить
popcycleism
popcycleism - 19.01.2022 07:22

This was very satisfying. The topping was your introduction to Semantic UI giving more possibilities from using bootstrap. Now to learn how to upload photos! Thank you for this tutorial.

Ответить
Anitha Poly
Anitha Poly - 11.11.2021 08:55

How can this be done in sqlite3 database in pycharm

Ответить
Liker2
Liker2 - 09.11.2021 23:12

Amazing video helped a lot!!

Ответить
Gillar Ajie Prasatya
Gillar Ajie Prasatya - 11.10.2021 04:40

i dont know why, but i now im falling in love with flask

Ответить
pavelow36
pavelow36 - 11.08.2021 17:04

amazing

Ответить
Syed Muhammad Raza
Syed Muhammad Raza - 04.08.2021 19:27

Just completed this TODO-APP really helpful appreciated!

Ответить
S A
S A - 02.08.2021 17:42

Thanks, but how to deploy to a cloud server?

Ответить
Kshitij Gupta
Kshitij Gupta - 27.06.2021 12:29

In my system, VSCode doesn't show <Todo 1> <Todo 2> it just shows [] this. Any suggestions how to tackle this problem?

Ответить
yxsh
yxsh - 23.06.2021 00:45

I like your pace and you explain concepts well. Thank you.

Ответить
hakusho04
hakusho04 - 19.05.2021 18:36

exactly what i need to start my flask journey thanks

Ответить
Shri
Shri - 06.05.2021 13:04

Hey,I have a quite of an issue on kali linux saying that, directory not found when I try to use /venv/bin/activate

Ответить
Gabriel Rodrigues
Gabriel Rodrigues - 21.02.2021 08:59

Bro you help me a lot with the flaskAlchemy, thank you !

Ответить
Sakshi Saxena
Sakshi Saxena - 14.02.2021 10:22

any tutorial on flask with Postgres sir?

Ответить
THOMASKUTTY REJI 20122011
THOMASKUTTY REJI 20122011 - 29.01.2021 00:07

thank you so much .... an amazing video...

Ответить