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/

Комментарии • 69

  • @Markofka
    @Markofka 2 года назад +85

    "I'm not an html pro, and I'm proud I'm not an html pro" 😂😂😂

    • @WRDCEP_LEO
      @WRDCEP_LEO 7 месяцев назад +1

      😂😂😂😅😅

    • @hydrogennetwork
      @hydrogennetwork 6 месяцев назад

      lol

    • @SRDevMaker
      @SRDevMaker 5 месяцев назад

      😅I use chat gpt for html part😅😅😂😂😂😂

  • @legendrags
    @legendrags Год назад +4

    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

  • @emilmammadov2920
    @emilmammadov2920 2 года назад +24

    Can you please make video about pyscript?

  • @jerrygeorge180
    @jerrygeorge180 2 года назад

    Have been waiting for dis😁

  • @DeepakisDemigod
    @DeepakisDemigod 2 года назад +2

    I Got Same Haircut Like You Bro 🤘

  • @rezabahrami7971
    @rezabahrami7971 Год назад +2

    Hello, please teach how to save messages on a text or database

  • @commandermycommander8456
    @commandermycommander8456 Год назад +2

    you need to provide the source code especially with code with complex formatting like the javascript in this video.

  • @alexsimons3804
    @alexsimons3804 11 месяцев назад +1

    Hey buddy, awesome video, ran into problem while accessing website on other device. Can you please provide detailed steps ..

  • @igorrebas6702
    @igorrebas6702 Год назад +1

    Great video! Can you please share any tutorial how to put such application to the internet :) ? Thanks!

  • @mohamadhasanzeinali3674
    @mohamadhasanzeinali3674 11 месяцев назад

    Wow, that was amazing and a good explanation. Thanks

  • @intothevode
    @intothevode Год назад +3

    Code?

  • @XoTiCGamer
    @XoTiCGamer 5 месяцев назад

    Super useful!

  • @fodetraore6666
    @fodetraore6666 2 года назад +4

    I cant install flask_socketio this tutorial does not work

  • @DxYPINS
    @DxYPINS 2 года назад

    Neuralnine plz more about making stuff with flask

  • @EinzzCookie
    @EinzzCookie Год назад +4

    Pls upload code here

  • @wannabeascientist
    @wannabeascientist 2 года назад

    Awesome video keep it up

  • @RichardAK
    @RichardAK Год назад +1

    This was very helpful! Thank you so much

  • @FireFly969
    @FireFly969 2 года назад

    Thank you neuraline

    • @pawelk1337
      @pawelk1337 2 года назад

      Awesome video keep it up

  • @lawtrafalgar3572
    @lawtrafalgar3572 2 года назад

    thx for the great work

  • @shubhamsaini4871
    @shubhamsaini4871 Год назад +3

    Source code please

  • @sibaprasadbehera5963
    @sibaprasadbehera5963 Год назад +1

    wherer is the source code ?

  • @Litfield
    @Litfield Год назад +1

    don't go to his github, there is basically nothing there to help when this doesnt work.

  • @isaacadedokun391
    @isaacadedokun391 2 года назад +3

    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.

  • @Ciri2020
    @Ciri2020 Год назад +1

    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 Год назад +1

      It doesnt work for me too? pls help

  • @tcgvsocg1458
    @tcgvsocg1458 2 года назад

    really interesting

  • @nomadybb1-66er7
    @nomadybb1-66er7 2 года назад

    awesome

  • @dhavalpatil7828
    @dhavalpatil7828 2 года назад +1

    Can you make this in django

  • @Abdulazeez-bx5rr
    @Abdulazeez-bx5rr 2 месяца назад

    Not working very well when hosted online. I don’t know the reason . Has anybody hosted it online?

  • @PlexAlanche
    @PlexAlanche 2 года назад +3

    Hey there neural, Please make more blockchain development videos, Thanks!

  • @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

  • @preystation6870
    @preystation6870 Год назад

    favicon is mistery from flask...

  • @hishamtarsoo5233
    @hishamtarsoo5233 2 года назад

    Nicee♥️🌹

  • @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 4 месяца назад

      Use #username instead at sending messages

  • @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 😢

  • @faviosergio
    @faviosergio Год назад

    Hi, can you please explain how upload to heroku this app ?

  • @ajoyjohn1487
    @ajoyjohn1487 Год назад

    make a tutorial about channels module

  • @accounttest3222
    @accounttest3222 2 года назад

    Hello!

  • @LukePeters
    @LukePeters 2 года назад +1

    Why are you specifically proud about not being an HTML pro?

    • @faviosergio
      @faviosergio Год назад

      Hi, Do you know upload to heroku this application ? Thanks.

  • @WaldoTheWombat
    @WaldoTheWombat 7 месяцев назад

    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.'

  • @Langeta-kun
    @Langeta-kun 10 месяцев назад

    didnt work

  • @xxsneaxy8872
    @xxsneaxy8872 2 года назад

    I can't send messages

  • @prathameshkaratkar
    @prathameshkaratkar Год назад

    database ?

  • @rishabhbhardwaj1871
    @rishabhbhardwaj1871 Год назад

    10:05 / 17:15

  • @davidk7212
    @davidk7212 Год назад

    Sir please to make new version of video in Hindi

  • @hahalxl2701
    @hahalxl2701 5 месяцев назад

    Wait did this guy leaked his ip address to us????

  • @rritsoftwaresolutions9566
    @rritsoftwaresolutions9566 Год назад

    source code plz

  • @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.

  • @pawelk1337
    @pawelk1337 2 года назад

    Awesome video keep it up

  • @accounttest3222
    @accounttest3222 2 года назад

    Hello!