Simple What'sapp Bot Using Python

Поделиться
HTML-код
  • Опубликовано: 16 сен 2024
  • #Shorts

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

  • @bakasenpaidesu
    @bakasenpaidesu 2 года назад +2131

    I Don't trust a programmer who use light IDE

    • @ajayvarshney2117
      @ajayvarshney2117 2 года назад +72

      Actually he is python's own idle in which dark mode is not present

    • @zekihvh
      @zekihvh 2 года назад +134

      don't trust anyone that uses anything light

    • @zjefdecooman3802
      @zjefdecooman3802 2 года назад +38

      He is not a true programmer, we shall send him to the recycle bin!

    • @casualoutlaw540
      @casualoutlaw540 2 года назад +13

      @@zjefdecooman3802 The guy seems indian, so doubt

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

      💀💀true

  • @transportenthusiast11
    @transportenthusiast11 2 года назад +751

    That fake typing noise really plays with my mind

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

      stop

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

      @@neednow1981 stop what

    • @kerem-zk7rl
      @kerem-zk7rl 2 года назад +3

      I didn't notice before reading your comment and video became really annoying tf

    • @eduturk9
      @eduturk9 2 года назад +25

      i fucking hate, they use it in many "coding" videos

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

      @@eduturk9 this

  • @am5hoo348
    @am5hoo348 2 года назад +2163

    PoV: after sending many messages, he blocked.

  • @cuddenudd7697
    @cuddenudd7697 2 года назад +520

    Alternative title: How to lose friends

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

      Nice

    • @faisen4689
      @faisen4689 2 года назад +6

      If this makes you lose your friends they you weren't friends

  • @23charitraagarwal56
    @23charitraagarwal56 2 года назад +817

    Fact-After this, Saben was found in zoo!

  • @ray.gene.bowner
    @ray.gene.bowner 2 года назад +73

    Teacher: you got one minute left to hand in your test
    Me:

  • @kingtasaz
    @kingtasaz 2 года назад +41

    I would make a few changes, maybe some f strings, maybe change the "a" to an "an" if the word starts with a vowel, and also CLOSE THE FILE AT THE END OF THE PROGRAM!!!!!

  • @Narcissistic.nAz_i
    @Narcissistic.nAz_i Год назад +9

    Man named him every possible animal on the planet💀.

  • @subhamchoudhury7789
    @subhamchoudhury7789 2 года назад +57

    Meanwhile after sending only this text to that friend...
    [AO-AIRTEL
    Alert 90%-:of daily high-speed data consumed.]

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

      Bruh 😂 imagine if you waste all their data in one go

    • @zekihvh
      @zekihvh 2 года назад +6

      @@USELESSFACTSDAILYDAY check how big a WhatsApp message is and find out why that wouldn't happen

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

      🤣

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

      Related to me😂🤣

  • @craftalesinc8131
    @craftalesinc8131 2 года назад +263

    Pro tip when you run that turn off your wifi connection send everything and then when its done… 😈😈 turn it back on

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

      Facts

    • @pepenaman
      @pepenaman 2 года назад +19

      That is messed up.
      I like you.

    • @DigitalHandle
      @DigitalHandle 2 года назад +16

      I like people who are mentally ill

    • @zekihvh
      @zekihvh 2 года назад +13

      That won't change anything, you'll be rate limited

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

      he'll receive the messages at the same rate plus you might aswell end up crashing your own browser

  • @kernel2190
    @kernel2190 2 года назад +47

    I legit thought it was going to be a google nmap viewer meme at first.

  • @mightyguy8029
    @mightyguy8029 2 года назад +11

    I understand the pain of being a friend of this guy....

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

      😂 j'te jure frère, ça doit être une douleur absolue

  • @hariharan4059
    @hariharan4059 2 года назад +21

    The only RUclips video program I could understand without pausing 😂

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

      Lmao i cant even read single world. The fucking screen is cutted by half

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

      @@Roovie I don't think so I could read everything he typed except opening file in reading mode

  • @Saiyan412
    @Saiyan412 2 года назад +88

    Nice,but I want to know how bot do more other commands in group

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

      You can watch the video on my channel. It's a bot that automatically responds to your contacts. And you can add whatever commands you like using pip modules

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

      @GlitchingORANGE not really, CIA bot.

    • @rohit.62
      @rohit.62 2 года назад

      Which ide used?

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

    Awesome, been doing python for a couple of weeks now and this strikes my interest

  • @themadsuika3909
    @themadsuika3909 2 года назад +27

    Nice now i'll use this to spam "GET OUT OF MY HEAD" messages

  • @sorin.n
    @sorin.n 2 года назад +3

    Saben used url open directly and replied back with the list of insetcs. Also Saben is using comprehensions in Python as he is more advanced. 😉

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

    Wow how useful! Please show us more how you use your time to write up such useful code

  • @itzsub
    @itzsub 2 года назад +14

    Feeling Sad for that saben guy
    He got called as an animal 756 times
    Mad respect 😕

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

      @@MoradorDeCalcada no

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

      @@MoradorDeCalcada Now 757 😩😔

  • @RICHESTOPIA
    @RICHESTOPIA 2 года назад +7

    😂 Imagine how's Saben face when opening his whatsapp

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

    lol the space added as a third thing is pure art

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

      It triggers the heck out of me

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

    This would better be done with selenium, pyautogui is quite a dangerous approach

    • @user-xf7mu7ub9d
      @user-xf7mu7ub9d 2 года назад

      Ciao, potresti spiegarmi perché?

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

      @@user-xf7mu7ub9d oltre al fatto che è molto più facile da realizzare (selenium : "scegli opzione y dal menu x", mentre con pyautogui devi fare screenshot su screenshot che oltre a poter non funzionare prendono molto tempo e risorse), pyautogui ti "obbliga" a non usare il terminale mentre opera, perché prende di fatto il controllo di schermo, mouse e tastiera. Inoltre è più "scalable" come approccio e la libreria selenium è decisamente più supportata dalla comunità. Questo per citarne solo alcune.

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

      @@user-xf7mu7ub9d questo in caso di webform che gira su un browser supportato (praticamente tutti), ovviamente. Se fosse un form da compilare all'interno di un software esterno, pyautogui è scelta obbligata.

    • @user-xf7mu7ub9d
      @user-xf7mu7ub9d 2 года назад +1

      @@francescoanastasio2021 oh, grazie mille per la risposta. Più tardi darò un'occhiata a Selenium.

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

    Nice Bro keep it up

  • @coderation.771
    @coderation.771 2 года назад +1

    Over power

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

    well, like palpatine said once: INFINITY POWER!

  • @CH4-CH2-O-COOH
    @CH4-CH2-O-COOH 2 года назад +1

    Your profile photo is so interesting...

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

    Better is using Selenium to access both, user requests, and make response

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

    You should do grammar checking and put an "an" if the animal starts with a vowel. (Not 100% accurate but close enough.)

  • @arpitgupta5545
    @arpitgupta5545 Год назад +11

    how did you import or link that code in whatsapp?

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

    Aisa dost chahiye mujhe 😂

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

    It would be better using "with" instead of open, and f-string instead of concat :-) but cool demo.

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

    PoV: now their ads became related to animal

  • @syth-1
    @syth-1 2 года назад

    Use win handles to be able to send keystrokes without needing focus on the window - made a similar bot with said functionality
    Spy++ is a great tool to help make stuff like that

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

    Wow

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

    Muahahahaha 😂
    Who's gonna reply that fast other than me?

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

    One content, two languages. What I have now written may have a perfect mirror in another language.!!!!!!!!!!!!!!

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

    Should use with to open files as it will close it when you go out of scope for any reason.
    In this case you will not have to close the file manually like you should have done :).

  • @lilreshi.
    @lilreshi. 2 года назад +5

    POV: u can’t do it because half of its literally off the screen

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

      Bruh, there's just a single closing bracket off screen

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

      @@qunas101 No. There's plenty more out of screen.

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

    Must do it to my best friend

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

    You know someone have no experience when they don't use a proper IDE and also use (var1 + " " + var2) instead of (f"{var1} {var2}"). No use of multiprocessing, asyncio, threading... could've been a lot faster.

  • @E-_-waste_unofficial
    @E-_-waste_unofficial 2 года назад +18

    Poor saben 🤣

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

    Another advantage of python

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

    Why I’m listening this as ASMR?

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

    fun fact there is “african” in a animal.txt file

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

    Great thank you

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

    Excellent

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

    Love this thing

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

      Anybody can tell me ... In 4th line what come after 'r .... Please help me

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

    today i learnt you can import pyautogui as pg lol will save time in the future

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

    Great video

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

    Tak tak tak tak tak tak sound so satisfying

  • @welo8518
    @welo8518 2 года назад +9

    lmao, can't wait to try🤣

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

    Endless enigmatic book in all languages. You can write a book with mirrors in all languages of the world. You can speak two languages at once, you just need to find the perfect reflection, same content, different translation. Infinite Mirrors. Pi 3.14 XBooks. Hybrid language!!!

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

    Nice

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

    Imagine looking at your phone and seeing ‘Saben is a chicken breeds’

  • @مهندبدرة
    @مهندبدرة 2 года назад

    Very useful

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

    Code can be improved, but it’s ok.

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

    Me doing everything with requests and threading: Hmmmpphhhhh... Interesting!

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

    Wow!

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

    Ok, because this video, I will study python (if my English is wrong its because I'm from Brazil and I studying English :) )

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

      Típico do brasileiro se desculpar por achar que está falando errado kkkk
      Se eles te entenderem, já está valendo. No máximo vão te corrigir se for um erro grotesco

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

      I can teach you how to speak English well enough. Connect with me on WhatsApp.

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

    Ok… no more excuses! I start coding now

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

    I LOVE IT

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

    your program need to be done on a wider computer screen for eligibility, if not you are coding well

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

    This is dope! 😂

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

    Really ,
    Funny .

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

    Very good!

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

    These asynchronous typing sounds driving ne nuts lol

  • @مهندبدرة
    @مهندبدرة 2 года назад

    u saved my life

  • @GuiiziinnnOG
    @GuiiziinnnOG 2 года назад +6

    The code keept sending "Saben is a list" several times
    Good video though

    • @pianismbeingcreative.2186
      @pianismbeingcreative.2186 2 года назад

      Maybe you wrote “Saben is a list” instead of “Saben is a” list

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

      @@pianismbeingcreative.2186 I didnt replicate the code myself
      The video himself shows that hes sending saben is a list if u pause

    • @pianismbeingcreative.2186
      @pianismbeingcreative.2186 2 года назад +1

      @@GuiiziinnnOG aight

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

    "how to gain friends and influence others"

  • @ВіталікБритан-х7ч
    @ВіталікБритан-х7ч Год назад +2

    import bot as bt
    bt.start()
    Hahaha

  • @nitishlingampalle8936
    @nitishlingampalle8936 2 года назад +18

    Someone please tell what is written after "r" in the 4th line. Plzzzzzzzz😅😅

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

      Read mode hence file can be read but from python we cannot append or write the text in file.

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

      Just a close bracket I think

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

      @@chitranshtiwari7429 there is for loop
      And he opened file in read mode

    • @anricoj1
      @anricoj1 2 года назад +5

      It’s just opening a file in read-only mode. Additionally you could write it in a a with statement. with open(‘animals.txt’, ‘r’) as animals:
      for animal in animals:
      print(f”you’re an {animal}”)
      with statements handle closing on their own so you don’t need to call animals.close()

    • @abdel-azizkhelifa158
      @abdel-azizkhelifa158 2 года назад

      @@anricoj1 bro I got "undetermined string at line 5"
      Could you write the whole code pls🥺

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

    How cool

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

    Fun fact: Saben in Spanish means “know” in plural verb, yes people even the words are different from singular and plural

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

    So many issues here. You don't open files like that, you use a context manager. You don't add strings but use f strings. Writing in notepad is subjective but just awful.

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

    pretty basic but i still appreciate this as its fun lmao

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

    Mechanical keyboards give me anxiety

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

    please make a vdo on vs-code extensions you use

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

    this person hits 10 keys to type 1 letter

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

    Fantastic

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

    So that’s why the WhatsApp servers were down 😅

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

    Love it

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

    Saben itself is a whole animal kingdom

  • @HVM-tv9tv
    @HVM-tv9tv 2 года назад

    Justice for Sablen!

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

    Good

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

    cool

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

    ah yes saben its a Buffalo African

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

    Nice 😊

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

    The fake typing being way top quick for the real typing is so annoying haha

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

    Amazing.

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

    Owned 😂😂😂😂😂

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

    That Che Guevara in the Chrome logo.

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

    Capybara

  • @ХусяТВ
    @ХусяТВ 2 года назад

    Круто

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

    He/She and your internet be like : *WTF I am dying*

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

      Anybody can tell me ... In 4th line what come after 'r .... Please help me

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

      @@programingworld6343 This is the code
      txt = open('animals.txt', 'r' , 'true')

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

    Is it possible through mobile ?, if yes please make a video.

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

    Man is really using + to put strings together lol.

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

    teacher: name all the animals
    pov:

  • @electricengine8407
    @electricengine8407 2 года назад +6

    ah yes, pressing multiple keys per character and when not typing

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

    Good idea for wrong number in whatsapp 🤣🤣🤣

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

    Forgot to the condition for if the word starts with a to use an instead of a