Online Web Chat in Python With Flask
HTML-код
- Опубликовано: 21 авг 2024
- 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...
💻 The Algorithm Bible Book: www.neuralnine...
👕 Programming Merch: www.neuralnine...
🌐 Social Media & Contact 🌐
📱 Website: www.neuralnine...
📷 Instagram: / neuralnine
🐦 Twitter: / neuralnine
🤵 LinkedIn: / neuralnine
📁 GitHub: github.com/Neu...
🎙 Discord: / discord
🎵 Outro Music From: www.bensound.com/
"I'm not an html pro, and I'm proud I'm not an html pro" 😂😂😂
😂😂😂😅😅
lol
😅I use chat gpt for html part😅😅😂😂😂😂
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
Can you please make video about pyscript?
yes please
Have been waiting for dis😁
I Got Same Haircut Like You Bro 🤘
Hello, please teach how to save messages on a text or database
you need to provide the source code especially with code with complex formatting like the javascript in this video.
Hey buddy, awesome video, ran into problem while accessing website on other device. Can you please provide detailed steps ..
Great video! Can you please share any tutorial how to put such application to the internet :) ? Thanks!
Wow, that was amazing and a good explanation. Thanks
Code?
Super useful!
I cant install flask_socketio this tutorial does not work
Me too
@@tankieag1117 lol me too
Neuralnine plz more about making stuff with flask
Pls upload code here
Awesome video keep it up
This was very helpful! Thank you so much
Thank you neuraline
Awesome video keep it up
thx for the great work
Source code please
wherer is the source code ?
don't go to his github, there is basically nothing there to help when this doesnt work.
Pls I'm stuck in the script for text/javascript. Do you need to have a javascript for it to work
yes, the javascript will handle the connection on client side, the browser cannot understand python.
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?
Had same problem until I found all my mistakes. The like magic it started working.
missing a bracket in - $('#messages').append($('').text(data)); -made it work.
It doesnt work for me too? pls help
really interesting
awesome
Can you make this in django
Not working very well when hosted online. I don’t know the reason . Has anybody hosted it online?
Hey there neural, Please make more blockchain development videos, Thanks!
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
favicon is mistery from flask...
Nicee♥️🌹
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
I am facing the same problem. Do u already have a solution?
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
Use #username instead at sending messages
Sorry, but this didn't help I'm using pycharm community, like you and got an error on line 4 😢
Hi, can you please explain how upload to heroku this app ?
make a tutorial about channels module
Hello!
Why are you specifically proud about not being an HTML pro?
Hi, Do you know upload to heroku this application ? Thanks.
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.'
where did you deploy it?
@@muhamadilham3061 nanode
@@muhamadilham3061 linode
didnt work
I can't send messages
database ?
10:05 / 17:15
Sir please to make new version of video in Hindi
Wait did this guy leaked his ip address to us????
source code plz
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.
Awesome video keep it up
Hello!