Learn Flask for Python - Full Tutorial

Learn Flask for Python - Full Tutorial

freeCodeCamp.org

5 лет назад

1,977,768 Просмотров

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


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

@johnadeyemi5806
@johnadeyemi5806 - 07.03.2025 16:08

please someone should help me, my FLASK is not receiving post request which means
where i said if request.method == "POST"
when i printed it to debug it returns GET instead of POST

Ответить
@robthagod4870
@robthagod4870 - 01.03.2025 05:52

This guy should've slowed down. Him having to delete 3 letters at a time, because he typed them wrong the first time doubled the length of the video.

Ответить
@natking1u1z99
@natking1u1z99 - 18.02.2025 14:04

Take this down or update this dinosaur code. The standard is Python 3.13.

Ответить
@MatheusTorres-e1m
@MatheusTorres-e1m - 14.02.2025 04:26

you go too fast. But overall is good

Ответить
@theter37
@theter37 - 26.01.2025 22:22

my copilot sent me here!

Ответить
@KR-pl5qk
@KR-pl5qk - 24.01.2025 03:18

very helpful just I get this error when I visit the site: jinja2.exceptions.TemplateSyntaxError: Encountered unknown tag 'endblock'.

Ответить
@skepticgoat7591
@skepticgoat7591 - 18.01.2025 23:23

i like how he suddely says whoops at any slight typing mistake, funny and cute

Ответить
@s.foudehi1419
@s.foudehi1419 - 17.01.2025 15:17

I have a question. I feel like memorizing all of this wouldn't be necessary, how do you guys go about learning this ? Do you memorize all of it ?

Ответить
@gregoryharris688
@gregoryharris688 - 10.01.2025 02:35

Should the update function use the "PUT" method instead of "POST"?

Ответить
@kernal-panik
@kernal-panik - 23.12.2024 20:20

Lovving the viddoe but sure if it woudldnt commit a typo every 3segfconds wouldd last half of itt❤

Ответить
@ihssanenedjaoui1444
@ihssanenedjaoui1444 - 21.12.2024 18:12

thank you a lot

Ответить
@emmanuelrojas1821
@emmanuelrojas1821 - 21.12.2024 02:41

Is there some other alternative to heroku? I cant get it to work

Ответить
@jonask4644
@jonask4644 - 20.12.2024 15:34

Man, I'm trying. Great video but every step is a new error

Ответить
@NainaJain-u4e
@NainaJain-u4e - 18.12.2024 14:24

Windows:
1) 'pip3 install virtualenv'
2) '-m virtualenv env'
3) '.\env\Scripts\activate.bat'

Ответить
@premium2024-gt3bn
@premium2024-gt3bn - 18.12.2024 13:56

you don't explain anything

Ответить
@PeenTip
@PeenTip - 17.12.2024 05:25

this video outdated and sucks. you make style changes without ever showing the user

Ответить
@alisheheryar1770
@alisheheryar1770 - 16.12.2024 13:04

No Basic concept, No idea of how this all works, Just a code copy vedio. Not good choice Codecamp

Ответить
@1duducm
@1duducm - 08.12.2024 20:39

Thank you for your lesson.

Ответить
@ofvdev
@ofvdev - 30.11.2024 20:57

The only problem with this video is that you didnt let us know that where the app.route is located is significant to the stability of the code.

Ответить
@minhvutien159
@minhvutien159 - 22.11.2024 17:54

What is the font you are using for your editor?

Ответить
@youssef-i7-ti
@youssef-i7-ti - 20.11.2024 21:53

this is the best flask tutorial i've ever seen

Ответить
@johnreefervermont4874
@johnreefervermont4874 - 17.11.2024 00:08

Excellent Video... What theme and font family are you using in VS Code?

Ответить
@jebi_jones
@jebi_jones - 05.11.2024 02:29

1. if youre on windows this doesnt work. This is done on linux
2. they only mentioned a windows alternative the first time it created a problem, but there is gonna be problems a dozen different times after that for which they did not provide disclaimers or alternatives
3. you're gonna spent more time debugging or trouble shooting than actually learning flask - which is still a learning experience but not exactly what I was here for.
4.youre just typing his code as fast as you can without much explanation for anything

Ответить
@nazeerahmed6966
@nazeerahmed6966 - 28.10.2024 21:58

Great contribute..

Ответить
@osanm.abcd-fghi
@osanm.abcd-fghi - 17.10.2024 21:34

U are a bad teacher

Ответить
@diegoslinger1254
@diegoslinger1254 - 13.10.2024 15:46

Bro is good

Ответить
@Oikawa_13
@Oikawa_13 - 12.10.2024 21:42

broccoli !!! You were close though

Ответить
@ADITIS-u8g
@ADITIS-u8g - 08.10.2024 17:41

I cannot thank you enough

Ответить
@marcuscouto198
@marcuscouto198 - 30.09.2024 22:57

Amazing tutorial! Thanks!

Ответить
@alejandrocelery3091
@alejandrocelery3091 - 24.09.2024 21:25

Super succint and useful, thanks!

Ответить
@custerr
@custerr - 24.09.2024 00:03

I cant figure out why i cant import db I deel so lost

Ответить
@dotcomaki
@dotcomaki - 23.09.2024 16:16

This is seriously the best and easiest Flask tutorial I've come across. Yet to see better tutorials on anything except freeCodeCamp!

Ответить
@A-Karim2003
@A-Karim2003 - 18.09.2024 19:44

As a beginner, this is a terrible course. barely anything was explained. You cant call something a course and assume the audience know what you're talking about, unless you say so.

Ответить
@SD-Geek
@SD-Geek - 14.09.2024 22:15

I think it will be easy cause i mastered python 😂

Ответить
@amanryzus
@amanryzus - 09.09.2024 20:06

funnily enough
my code works with ToDo not Todo

Ответить
@AnalystsCorner
@AnalystsCorner - 07.09.2024 06:46

great tutorial! comprehensive and concise. I did have an issue with the DB creation step, so I ended up creating a separate file to execute the SQLite creation. The code is as follows. You can name the file anything you want, for anyone else having the same issue.

```import sqlite3

connection = sqlite3.connect("tasks.db")

cursor = connection.cursor()

create_table_query = """
CREATE TABLE IF NOT EXISTS tasks (
id INTEGER PRIMARY KEY,
content TEXT NOT NULL,
completed INTEGER DEFAULT 0,
date_created TEXT DEFAULT CURRENT_TIMESTAMP
);"""

cursor.execute(create_table_query)

connection.commit()
```

Ответить
@user679jk7
@user679jk7 - 29.08.2024 10:41

Thank you so much for making this nice video!

Ответить
@harshakarapureddy2596
@harshakarapureddy2596 - 04.08.2024 07:07

I cannot do the import app from db, it just returns ModuleNotFoundError: No module named 'app'

Ответить
@jubairsami8524
@jubairsami8524 - 29.07.2024 22:32

it's stunning that no chatgpt were existing when this tutorial was made

Ответить
@sambarjunk
@sambarjunk - 23.07.2024 23:06

Outdated

Ответить
@sumitapathak2900
@sumitapathak2900 - 23.07.2024 11:54

Thank you. I finally have a development project in Python now. And ofcourse I am gonna keep learning

Ответить
@neeharika422
@neeharika422 - 22.07.2024 17:35

This video is like listening tests when you're learning a new language... and I'm here for it! Especially when if I'm really lost, google or ai can explain it simply so the flow of the vidio isnt lost by the slow explanations.
Especially good because I have very basic knowledge of HTML and python!

Ответить
@kritigupta1525
@kritigupta1525 - 18.07.2024 13:50

If you are a complete beginner to flask, rather read through the basic syntax first and then watch this tutorial to get a sense of what's happening. otherwise its a good short, succinct overview of CRUD application in flask.

Ответить
@zt9352
@zt9352 - 14.07.2024 04:40

Thank you very much!!!

Ответить