Python Tutorial - How to create a digital clock using python and tkinter - for beginners

Поделиться
HTML-код
  • Опубликовано: 22 авг 2020
  • How to create a digital clock using python and Tkinter - for beginners. This is a simple tutorial that will show you how to use the Tkinter library in python to create a digital clock that shows you time in real time.
    I would like to thank all of you, for the support that you have showed me in all my recent videos. I am very grateful for it. If you guys have any ideas for future videos make sure to post them in the community tab under my post "ideas for next videos". And as always guys I will see your beautiful faces in the next tutorial.
    Become a patron and support the channel : / johangodinho
    Tkinter for beginners : • How to create basic gr...
    Join the discord channel to have some fun:
    / discord
    Follow me on instagram:
    / jesusjohangodinho12
    Link to code: j.gs/EaDm
    ** Music Credits **
    [LAKEY INSPIRED I Mixtape I Ambient, Chillhop, Lofi I No Copyright Background Music] by LAKEY INSPIRED / lakeyinspired
    Promoted by MrSnooze • LAKEY INSPIRED I Mixta...
    License: Creative Commons - CC BY-SA 3.0 goo.gl/1uPfiz
    Checkout my setup!!!
    Microphone : amzn.to/3iluZGr
    Monitors : amzn.to/34RVLP4
    Keyboard : amzn.to/3pmECq9
    Mouse : amzn.to/3vUIMYP

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

  • @manojchauhan8704
    @manojchauhan8704 3 года назад +11

    Thanks man I created my first digital clock at age of 14
    Your videos are really helpful.
    Keep going👍🏻👍🏻

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

      I created my first clock today at age 28. :)

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

      I made my first clock at 12 yrs which is now

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

    super straight forward, very good commenting, not a time waster which is only 7 minutes, just gained a new sub.

  • @pihanimations804
    @pihanimations804 4 года назад +4

    There are vids that have tutorials on clocks on the console. But you were able to create a clock on a user interface which is going to be very helpful for my projects! Thanks

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

    thank you very much bro i have been trying fo this from morning and saw many videos it didnt help thank s for this bro!!

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

    Thank you so much for your help! You have guided me with my school assignment ;)

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

    I just did my first coding of a digital clock thanks to you!!

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

    I created my first clock today at age 28. :)

  • @kristapsz2766
    @kristapsz2766 3 года назад

    Thanks man very good clock.You helped me with my school work.Thanks

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

    Thanks a lot, It worked and I am so happy :D

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

    thanks for this
    this was very successful....

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

    Like a boss🔥🔥, thank you

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

    Thank you for video it's very cool
    👍👍👍

  • @TheALFIN07
    @TheALFIN07 10 месяцев назад

    WOOW..I CAN ..YESSS. Thnk sir

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

    Thankyou very much!

  • @thenewway416
    @thenewway416 4 года назад

    Awesome 👍

  • @bankingnews862
    @bankingnews862 3 года назад +1

    U r a genius....

  • @sinpwnzorz
    @sinpwnzorz 3 года назад +3

    Hi, first time watching anything of yours. Great video. I love the short easy little tutorials that I can watch on my way to work, but one piece of constructive criticism the keyboard is Extremely Loud.

  • @gamerinyourtown5592
    @gamerinyourtown5592 3 года назад

    you are a pro coder.

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

    Thank you man

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

    loved it

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

    i am going to flex on my friend right NOW!
    btw thanks

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

    I have been following you up your videos is quite educative
    Please how i run the program after writing the code

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

    Wooh yeah I just created a desktop digital clock

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

    your keyboard is louder that ur voice anyways thx for the vid and i tihnk you just gained a new sub

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

    Really good vido

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

    you are amazing

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

    You are great

  • @gB-gm7vy
    @gB-gm7vy Год назад

    Nice

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

    Can u please show me how to run the program please and thank you btw

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

    cool

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

    Nalle nalle videos pr itne views aa gae pr koi kaam ki information nhi, this video deserves those views. Thank you 🌸
    राधे राधे 🌹

  • @truechannel-wp5ec
    @truechannel-wp5ec 4 месяца назад

    Which update should I take ?
    My pyton is just like a text file what should I do?

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

    when i run it says cannot import label from Tkinter what should i do?

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

    Please which app should I use

  • @joshomebije3691
    @joshomebije3691 3 года назад

    Is there a way to add and alarm system

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

    it's giving me a name error" clock" is not defined

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

    Very nice but how to show it on a website or the password generator video to be displayed on a website, make such a video asap please

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

    Can you please tell how convert in 12 hrs clock ..

  • @-hazzem
    @-hazzem 3 года назад +1

    I got the error code "Invalid format string" please help me to solve it.

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

    my code is exactly the same but when I hit 'run' nothing happens? No clock shows up?

  • @_blazing_eagle_
    @_blazing_eagle_ 3 года назад

    Awesome project. I did it but how to make the alarm(though I won't open up my computer to wake up in the morning).

    • @johangodinho
      @johangodinho  3 года назад +1

      Haha very cool project indeed, the only way you can get this to work without having your computer on is using a rasberi pi :)

    • @_blazing_eagle_
      @_blazing_eagle_ 3 года назад +1

      @@johangodinho I don't have that

    • @Flurryface_999
      @Flurryface_999 3 года назад

      @@johangodinho please can this be also done on pycharm

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

    I created my first clock today at 15 age

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

    Can someone please help me? I can't pass from the first line. It says "Unused import statement 'from tkinter import Tk'"
    Thanks

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

    What font did you use send me link

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

    Bro the program and the Pop up window works but the clock is not showing whats wrong?

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

    you didn't use sys module anywhere....

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

    when i run the program,i write all the codes right and i dont have any tab that shows the time

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

      same problem here! anyone knows how to slove it?

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

    now when i type import sys and import time it wornt work

  • @balazs356
    @balazs356 8 месяцев назад

    invalid code is "Tk"? waht is a possible problem?

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

    why does tkinter not open in visual studio code when i press run

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

    I keep getting a message saying cannot extract tk from tkinter. What do I do

  • @Bobby-zd5vl
    @Bobby-zd5vl 3 года назад +1

    I'm getting the error code label is not defined could anyone explain, how I could define this. (Edit I figured it out this video truly did help me have a lovely day.)

    • @satyakashmishra4903
      @satyakashmishra4903 3 года назад

      hey how u figure it out can u help me

    • @jadonx.4760
      @jadonx.4760 3 года назад

      @@satyakashmishra4903 I think the error might be when you imported it you might've imported it wrong
      Make sure you did it like this:
      from tkinter import Label
      feel free to copy and paste this

    • @satyakashmishra4903
      @satyakashmishra4903 3 года назад

      @@jadonx.4760 haha I completed it before by the way thx for reply

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

    tk is not defined. Did you mean 'Tk'?
    Despite me typing Tk
    Please help

  • @allowedgaming4614
    @allowedgaming4614 3 года назад

    sir plz help me symtax error was found

  • @emotionally_yours
    @emotionally_yours 3 года назад

    Bro what to do if my clock is not running
    I mean that it is showing time when the function was being called up and get paused there.

    • @johangodinho
      @johangodinho  3 года назад

      Please join the discord channel using the link below and one of my team members will be able to help you out :)
      discord.gg/ayQyeYX

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

    nvm now its fixed will let ya know when done

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

    i think because the sys part
    its not importing

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

    how to change Time Zone

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

    I made mine and im just 12!

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

      Woah even after 2 years you hearted the comment?
      Dang you put more effort than anyone else I know

  • @soul_fn2891
    @soul_fn2891 3 года назад

    hello my time is wrong in the clock it says 2 am when its 7 pm

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

    still it shows only 1 line

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

    I gotten an error that said import error can’t import name TK from tkinger This is my first time importing something in python did I do something wrong was I supposed to download this from the web or something Sorry this is my first time importing anything in python

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

      I think you misspelled it, it is `import Tk from tkinter`

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

      Could you send your code to my business email, and I'll see what I can do to help :D

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

      @@johangodinho Just sent you an email thank you I sent it to the one on your portfolio page

  • @satyakashmishra4903
    @satyakashmishra4903 3 года назад

    label not defined pls help me how to solve this error

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

    Hi,nice tutorial for beginner like me,but there's a little problem.The tkinder shows error and it show“no module named 'tkinder' ” what should i do

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

      It's tkinter maybe you have a typo

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

      Oooooooowwwww i see,thank you

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

      @@johangodinho now it work,thank you very much!

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

    what is tkinter

  • @Gsim2007
    @Gsim2007 3 года назад

    my clock is very small

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

    now my time isnt coming