Online Web Chat in Python With Flask

  Рет қаралды 76,755

NeuralNine

NeuralNine

2 жыл бұрын

In this video, we learn how to build an online web chat in Python using Flask.
◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming Books & Merch 📚
🐍 The Python Bible Book: www.neuralnine.com/books/
💻 The Algorithm Bible Book: www.neuralnine.com/books/
👕 Programming Merch: www.neuralnine.com/shop
🌐 Social Media & Contact 🌐
📱 Website: www.neuralnine.com/
📷 Instagram: / neuralnine
🐦 Twitter: / neuralnine
🤵 LinkedIn: / neuralnine
📁 GitHub: github.com/NeuralNine
🎙 Discord: / discord
🎵 Outro Music From: www.bensound.com/

Пікірлер: 69
@Markofka
@Markofka 2 жыл бұрын
"I'm not an html pro, and I'm proud I'm not an html pro" 😂😂😂
@WRDCEP_LEO
@WRDCEP_LEO 6 ай бұрын
😂😂😂😅😅
@hydrogennetwork
@hydrogennetwork 5 ай бұрын
lol
@SRDevMaker
@SRDevMaker 4 ай бұрын
😅I use chat gpt for html part😅😅😂😂😂😂
@legendrags
@legendrags Жыл бұрын
You can wrap the inputs in a form, and get the form element with js . Then you can add an event listener "onsubmit" with event as param. Then you can do event.preventDefault() to prevent default action, which is submitting the form. Then you can do the socket io sending thing. Which means you also have to put the required param in the input box html. Ofc my explanation sux but thats it Great vid btw
@mohamadhasanzeinali3674
@mohamadhasanzeinali3674 11 ай бұрын
Wow, that was amazing and a good explanation. Thanks
@jerrygeorge180
@jerrygeorge180 2 жыл бұрын
Have been waiting for dis😁
@lawtrafalgar3572
@lawtrafalgar3572 Жыл бұрын
thx for the great work
@pawelk1337
@pawelk1337 2 жыл бұрын
Awesome video keep it up
@XoTiCGamer
@XoTiCGamer 5 ай бұрын
Super useful!
@RichardAK
@RichardAK Жыл бұрын
This was very helpful! Thank you so much
@DeepakisDemigod
@DeepakisDemigod 2 жыл бұрын
I Got Same Haircut Like You Bro 🤘
@FireFly969
@FireFly969 2 жыл бұрын
Thank you neuraline
@pawelk1337
@pawelk1337 2 жыл бұрын
Awesome video keep it up
@thedon9803
@thedon9803 Жыл бұрын
hello sir is it possible to develop one where you can have messages from different people where i can chat with different people not as a group chat
@tcgvsocg1458
@tcgvsocg1458 2 жыл бұрын
really interesting
@igorrebas6702
@igorrebas6702 11 ай бұрын
Great video! Can you please share any tutorial how to put such application to the internet :) ? Thanks!
@nomadybb1-66er7
@nomadybb1-66er7 2 жыл бұрын
awesome
@DxYPINS
@DxYPINS 2 жыл бұрын
Neuralnine plz more about making stuff with flask
@rezabahrami7971
@rezabahrami7971 Жыл бұрын
Hello, please teach how to save messages on a text or database
@alexsimons3804
@alexsimons3804 11 ай бұрын
Hey buddy, awesome video, ran into problem while accessing website on other device. Can you please provide detailed steps ..
@faviosergio
@faviosergio Жыл бұрын
Hi, can you please explain how upload to heroku this app ?
@dhavalpatil7828
@dhavalpatil7828 2 жыл бұрын
Can you make this in django
@intothevode
@intothevode Жыл бұрын
Code?
@emilmammadov2920
@emilmammadov2920 2 жыл бұрын
Can you please make video about pyscript?
@ryszard83
@ryszard83 2 жыл бұрын
yes please
@hishamtarsoo5233
@hishamtarsoo5233 2 жыл бұрын
Nicee♥️🌹
@commandermycommander8456
@commandermycommander8456 Жыл бұрын
you need to provide the source code especially with code with complex formatting like the javascript in this video.
@PlexAlanche
@PlexAlanche 2 жыл бұрын
Hey there neural, Please make more blockchain development videos, Thanks!
@Ciri2020
@Ciri2020 Жыл бұрын
localhost doesn't start properly and button Send doesnt work for me with your code. Do you have any repo where I can check my code?
@jamesfraser7394
@jamesfraser7394 Жыл бұрын
Had same problem until I found all my mistakes. The like magic it started working.
@jamesfraser7394
@jamesfraser7394 Жыл бұрын
missing a bracket in - $('#messages').append($('').text(data)); -made it work.
@EinzzCookie
@EinzzCookie Жыл бұрын
It doesnt work for me too? pls help
@sibaprasadbehera5963
@sibaprasadbehera5963 Жыл бұрын
wherer is the source code ?
@shubhamsaini4871
@shubhamsaini4871 Жыл бұрын
Source code please
@prathameshkaratkar
@prathameshkaratkar Жыл бұрын
database ?
@Abdulazeez-bx5rr
@Abdulazeez-bx5rr Ай бұрын
Not working very well when hosted online. I don’t know the reason . Has anybody hosted it online?
@EinzzCookie
@EinzzCookie Жыл бұрын
Pls upload code here
@xxsneaxy8872
@xxsneaxy8872 2 жыл бұрын
I can't send messages
@fodetraore6666
@fodetraore6666 2 жыл бұрын
I cant install flask_socketio this tutorial does not work
@tankieag1117
@tankieag1117 2 жыл бұрын
Me too
@justsomeguytrynasleep4590
@justsomeguytrynasleep4590 Жыл бұрын
@@tankieag1117 lol me too
@WaldoTheWombat
@WaldoTheWombat 6 ай бұрын
does anyone know how to deploy a flask app that uses web sockets? because I just finished deploying my app watching a deployment tutorial by Tech with Tim, but it seems that the sockets don't work there: 'Cannot obtain socket from WSGI environment.'
@muhamadilham3061
@muhamadilham3061 4 ай бұрын
where did you deploy it?
@WaldoTheWombat
@WaldoTheWombat 4 ай бұрын
@@muhamadilham3061 nanode
@WaldoTheWombat
@WaldoTheWombat 4 ай бұрын
@@muhamadilham3061 linode
@isaacadedokun391
@isaacadedokun391 Жыл бұрын
Pls I'm stuck in the script for text/javascript. Do you need to have a javascript for it to work
@wandevv
@wandevv Жыл бұрын
yes, the javascript will handle the connection on client side, the browser cannot understand python.
@preystation6870
@preystation6870 Жыл бұрын
favicon is mistery from flask...
@accounttest3222
@accounttest3222 2 жыл бұрын
Hello!
@ajoyjohn1487
@ajoyjohn1487 Жыл бұрын
make a tutorial about channels module
@akashnath7999
@akashnath7999 Жыл бұрын
I did whatever you said, but it's not working. Probably the problem is with the button click cause when I click it nothing happens and the message field doesn't get cleared. If any solutions you have, then please provide that
@aarathivijay4858
@aarathivijay4858 Жыл бұрын
I am facing the same problem. Do u already have a solution?
@user-wq1yx2rm4e
@user-wq1yx2rm4e 8 ай бұрын
personally I forgot the brackets after $('#messages').append($'').text(data) in the js code. This is how it was supposed to be: $('#messages').append($('').text(data)); I recommend looking again over the code, it's often little things that we don't notice
@user-bd8xt6fh6n
@user-bd8xt6fh6n 3 ай бұрын
Use #username instead at sending messages
@rritsoftwaresolutions9566
@rritsoftwaresolutions9566 Жыл бұрын
source code plz
@rishabhbhardwaj1871
@rishabhbhardwaj1871 Жыл бұрын
10:05 / 17:15
@Langeta-kun
@Langeta-kun 10 ай бұрын
didnt work
@davidk7212
@davidk7212 Жыл бұрын
Sir please to make new version of video in Hindi
@Litfield
@Litfield Жыл бұрын
don't go to his github, there is basically nothing there to help when this doesnt work.
@hahalxl2701
@hahalxl2701 4 ай бұрын
Wait did this guy leaked his ip address to us????
@TheReal_IHR
@TheReal_IHR 4 ай бұрын
Sorry, but this didn't help I'm using pycharm community, like you and got an error on line 4 😢
@LukePeters
@LukePeters 2 жыл бұрын
Why are you specifically proud about not being an HTML pro?
@faviosergio
@faviosergio Жыл бұрын
Hi, Do you know upload to heroku this application ? Thanks.
@havehalkow
@havehalkow Жыл бұрын
Is anyone getting this error: jQuery.Deferred exception: io is not defined @localhost:5000/... A few hours of troubleshooting didn't help. I'm planning go in the street and scream for a few hours, maybe that helps.
@wannabeascientist
@wannabeascientist 2 жыл бұрын
Awesome video keep it up
@accounttest3222
@accounttest3222 2 жыл бұрын
Hello!
Simple UDP Chat Room in Python
16:25
NeuralNine
Рет қаралды 22 М.
Creating a Chat App With Flask-SocketIO (2023)
24:31
Pretty Printed
Рет қаралды 27 М.
A teacher captured the cutest moment at the nursery #shorts
00:33
Fabiosa Stories
Рет қаралды 51 МЛН
БАБУШКИН КОМПОТ В СОЛО
00:23
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 17 МЛН
Sigma Kid Hair #funny #sigma #comedy
00:33
CRAZY GREAPA
Рет қаралды 38 МЛН
Make A Python Website As Fast As Possible!
22:21
Tech With Tim
Рет қаралды 675 М.
Python or JavaScript - Which One Should YOU Learn?
8:05
Tech With Tim
Рет қаралды 172 М.
Connect Python Scripts To Internet With Ngrok
12:34
NeuralNine
Рет қаралды 43 М.
Build a Flask WebSocket Server in 10 minutes with Flask-Sock
9:48
Miguel Grinberg
Рет қаралды 41 М.
Websockets in Python
17:52
APMonitor.com
Рет қаралды 29 М.
Qwik… the world's first O(1) JavaScript framework?
3:33
Fireship
Рет қаралды 668 М.
Flask vs Django in 2024 - Make a RIGHT Choice (Difference Explained)
9:32
Daniel Dan | Tech & Data
Рет қаралды 43 М.
Better Than Smart Phones☠️🤯 | #trollface
0:11
Not Sanu Moments
Рет қаралды 15 МЛН
low battery 🪫
0:10
dednahype
Рет қаралды 1,5 МЛН
Как удвоить напряжение? #электроника #умножитель
1:00
Hi Dev! – Электроника
Рет қаралды 1,1 МЛН
$1 vs $100,000 Slow Motion Camera!
0:44
Hafu Go
Рет қаралды 28 МЛН
تجربة أغرب توصيلة شحن ضد القطع تماما
0:56
صدام العزي
Рет қаралды 63 МЛН