Random Winner Generator - Python Tkinter GUI Tutorial #39

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ต.ค. 2024

ความคิดเห็น • 80

  • @kapibara2440
    @kapibara2440 5 หลายเดือนก่อน

    The fact that you are genuinely enjoying this mini project makes the video even more appealing 😊 Well done!

  • @Codemycom
    @Codemycom  4 ปีที่แล้ว

    ▶️ Watch Entire Tkinter Playlist ✅ Subscribe To My TH-cam Channel:
    bit.ly/2UFLKgj bit.ly/2IGzvOR
    ▶️ See More At: ✅ Join My Facebook Group:
    Codemy.com bit.ly/2GFmOBz
    ▶️ Learn to Code at Codemy.com
    Take $30 off with coupon code: youtube1

  • @mikoajk1468
    @mikoajk1468 2 ปีที่แล้ว +1

    i was using the tkinter 5 hour python course to learn python, I tried making rock paper scissors and needed a randomizer tutorial and I was glad that walter white was here to help

    • @Codemycom
      @Codemycom  2 ปีที่แล้ว +1

      Always at your service! lol

    • @Architect-u2g
      @Architect-u2g 4 หลายเดือนก่อน

      I mean, bro code teaches the basics, but Codemy goes in depth, but the two are so good I can't decide which one is better!

  • @kristiansimko4370
    @kristiansimko4370 4 ปีที่แล้ว +7

    Oh, I did not expect that! Thnak you very much John, this is the first I have ever won something. Thank you and happy birthday to you John

  • @MohamedIbrahimEid
    @MohamedIbrahimEid ปีที่แล้ว

    Thanks John, I am very appreciate your contributions. It solved of my hectic personal projects.

    • @Codemycom
      @Codemycom  ปีที่แล้ว

      Happy to hear it!

  • @lorenzoo.4319
    @lorenzoo.4319 3 ปีที่แล้ว +1

    How you don't love John and his amazing videos!!!

    • @Codemycom
      @Codemycom  3 ปีที่แล้ว +2

      Good question!

  • @FakeAccount
    @FakeAccount 4 ปีที่แล้ว +5

    Congrats to the winners!
    You could also have used the "choice" function from random to choose a random item from a list. I didn't think of using a set to remove duplicates tho, nice video.

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว +2

      Yeah, Set just sort of came to me lol

    • @WasiMaster
      @WasiMaster 4 ปีที่แล้ว +1

      Is it like
      print(random.choice(entries))
      ?

    • @honeysingh4695
      @honeysingh4695 3 ปีที่แล้ว

      @@WasiMaster yes

    • @WasiMaster
      @WasiMaster 3 ปีที่แล้ว

      @@honeysingh4695 yeah I know that now, a lot has changed in the last 5 months.

  • @mitchdeli3538
    @mitchdeli3538 2 ปีที่แล้ว +1

    Hi John. This was great tutorial, I was searching how to build similar project and found this gem. One question: It there a way to build animated name picker and how to do it?

  • @wingielee
    @wingielee 3 ปีที่แล้ว

    cant wait for your next birthday bro..wishing you more gracious days ahead..

    • @Codemycom
      @Codemycom  3 ปีที่แล้ว

      Thanks! It's coming up in a couple months

  • @fyjcsci379manavnaik7
    @fyjcsci379manavnaik7 3 หลายเดือนก่อน

    Happy Birthday John! Sorry I was a bit late.

    • @Codemycom
      @Codemycom  3 หลายเดือนก่อน

      Thanks!

  • @nowyouknow2249
    @nowyouknow2249 4 ปีที่แล้ว +1

    Good idea and video John.
    More of this

  • @jesterlw
    @jesterlw 4 ปีที่แล้ว +1

    Learning a lot watching your videos. Still have a loot to learn though.

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว +1

      Thanks for watching!

  • @jenilchudgar
    @jenilchudgar 3 ปีที่แล้ว

    Disclaimer: This channel is addictive

    • @Codemycom
      @Codemycom  3 ปีที่แล้ว

      haha awesome

  • @jorgearmandoperez1450
    @jorgearmandoperez1450 4 ปีที่แล้ว +3

    thank you for this amazing job, you are being so under-appreciated, I´m new to python but your videos had helped me a lot!

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว +2

      Great to hear!

  • @ozbekchawindows4236
    @ozbekchawindows4236 4 ปีที่แล้ว +4

    You can use:
    random.choice(entries_set)

  • @antonybrun3845
    @antonybrun3845 4 ปีที่แล้ว +1

    What a creative way to pick a winner :p

  • @bigsandip
    @bigsandip 4 ปีที่แล้ว +1

    Congratulations to winner and happy birthday once again

  • @daviking-88
    @daviking-88 3 ปีที่แล้ว +1

    How would we code this to work multiple times in the same instance? I.e. not have to close the program to pick another winner, but push the button again to generate a new winner. Also, is it possible to use an entry box to gather input entries into the program, use a button to confirm the entries and then click the winner picker button to randomly pick one of the entries made?

    • @LauPaSat-pl
      @LauPaSat-pl 2 ปีที่แล้ว

      Of course it's possible, just make variable where you save entries global

  • @saurabhparate6866
    @saurabhparate6866 4 ปีที่แล้ว +1

    That was very nice man good way to teach

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว

      Thanks! Glad you liked it!

  • @fentonmsu
    @fentonmsu 3 ปีที่แล้ว

    nice, can this be applied with a dictionary to get random websites when I click a button?

    • @Codemycom
      @Codemycom  3 ปีที่แล้ว

      sure, with a lot more code lol

  • @CaddyshackedKidd
    @CaddyshackedKidd 2 ปีที่แล้ว

    Hey John, is it possible to get a video on how to make a random winner app with two participants. I’m trying to learn how to make something that has a wagering feature to produce a winner using crypto as entry fees.

    • @Codemycom
      @Codemycom  2 ปีที่แล้ว

      Doesn't this video show exactly that?

  • @TechWithSabri
    @TechWithSabri 4 ปีที่แล้ว

    The winners from your codemy courses ?or for youtube channel ?

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว

      My video on youtube yesterday where I was going to give away a free membership to my Codemy website.

  • @b0by1
    @b0by1 4 ปีที่แล้ว +1

    noooo my puns have let me down! i shall enjoy the youtube videos instead i guess! congratulations to winner and happy birthday again!

  • @robcox500
    @robcox500 4 ปีที่แล้ว

    Why do you have to stop the program and run again to choose a new winner?? I would have thought that every time you click the button, the program would display a new name.

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว

      Didn't write code to update the label

  • @AbhishekYadav-jg2cv
    @AbhishekYadav-jg2cv 4 ปีที่แล้ว +1

    Thanks man it really helped.

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว

      Happy to hear that!

  • @jensen_9393
    @jensen_9393 3 ปีที่แล้ว

    happy birthday !!!!

  • @briandw5416
    @briandw5416 4 ปีที่แล้ว

    could the contents of a .csv file be inserted into the 'entries' variable? say if you had different lists of names in .csv files could the file information be directly inputted into the list? then simply change the file names in the code say to names.csv,names2.csv .i watched the video where you can export information to .csv ,can you import it just as easily?would save a lot of CC&P or typing them in manually.

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว

      Sure, you can import a csv with python.

  • @adigunolamide3230
    @adigunolamide3230 4 ปีที่แล้ว +1

    Congrats spider I guess tkinter likes you😅
    Congrats 🎊🎉

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว

      lol yep!

    • @spider3912
      @spider3912 4 ปีที่แล้ว +1

      Thanks

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว +1

      @@spider3912 head to codemy.com/contact-us to get in touch to claim your free membership :-)

  • @sifwatalvi
    @sifwatalvi 4 ปีที่แล้ว

    I am watching this in august and thinking wtf i was doing in february !!

  • @yakshpatel3301
    @yakshpatel3301 3 ปีที่แล้ว +1

    Can you hack this type of program. Like if I entered to a giveaway, then can I win by hacking it

  • @wenoluca4278
    @wenoluca4278 2 ปีที่แล้ว

    BEST BOYYY

  • @spider3912
    @spider3912 4 ปีที่แล้ว +2

    What did I got after winning this dude

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว +1

      head to codemy.com/contact-us to get in touch to claim your free membership :-)

    • @nowyouknow2249
      @nowyouknow2249 4 ปีที่แล้ว +1

      Congrats

  • @prabhurout6078
    @prabhurout6078 4 ปีที่แล้ว

    How to choose a random buttons by using random

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว

      Sorry, not sure what you're asking

  • @viswamberprasad9418
    @viswamberprasad9418 4 ปีที่แล้ว

    hbd Walter White!

  • @ips2659
    @ips2659 2 ปีที่แล้ว

    Can you please paste your code in the comments?

    • @Codemycom
      @Codemycom  2 ปีที่แล้ว +1

      github.com/flatplanet/Intro-To-TKinter-TH-cam-Course

  • @kotnikrishnachaitanya
    @kotnikrishnachaitanya 4 ปีที่แล้ว

    Oh no i want it so much. Sir i need your course so much. Can you please give that to me.

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว

      Sorry, you didn't win :-p

  • @wiki-infodevelopment3369
    @wiki-infodevelopment3369 4 ปีที่แล้ว

    i am not lucky today I saw my name :( in the list.

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว

      Maybe next time!