How to Build A Single Page App With Python Flask

preview_player
Показать описание
📣 Other Social:
Рекомендации по теме
Комментарии
Автор

Thanks! I like the quick pace, info packed, unrehearsed approach.
Good stuff!

Gglsucksbigballz
Автор

high quality content for free as always, thanks!

buuqmarabo
Автор

Hey Chris Thank you so much for this series. Do you have any plan on having tutorial series on React + Flask + Postgres application?

amateurastronomer
Автор

I have a great idea for a single page app

pedrojello
Автор

which is better or easier to learn? node js vs python? also which has more jobs?

blasttrash
Автор

New to python and flask. (Not new to programming.) I have encountered an error early on and could use some advice regarding what I am doing wrong. I am using python v3.7.4 and flask version 1.1.1. I am also using VS. Python installed fine, and I can run commands from the command prompt. I created a new folder, called flask, within my projects folder. While in the folder flask (C:\Projects\flask> ) I ran pip ( pip install flask ) and I got the message that flask 1.1.1installed successfully. I created the app.py file as Chris did in the video. I issued the command "set FLASK_APP=app.py" (without the quotation marks, of course) and got the same prompt (no error messages.) BUT, when I issue the command
"python -m flask run" (again, without the quotation marks), I get an error message that states the following: Error: Failed to find Flask application or factory in module "app". Use "FLASK_APP=app:name to specify one." Can anyone give me a hint at what I am doing wrong?


The app.py code follows (I think that I have typed in the code that Chris shows in the video):
from flask import Flask
app = Flask(__name__)
@app.route('/')
def hello_world():
return 'Hello World'

RobMapes
Автор

Hi, for some reason my debug mode is not turning on. how do I turn it on?!?

addssap
Автор

How much Python should I know before I jump into Flask?

TheLOTTJ
Автор

I kinda feel the tutorial would be more complete if you had also shown had to do POST requests.

Автор

You don't build a spa with a back end framework. You do it with a javascript framework consuming json data.

davidbasil
Автор

I dont understand the need for showing how to install python, ide.

The viewers who will watch this for 30min would already have all those software

MrDrewluna
Автор

how in the frick is this this is jquery

thengakola