Thank you sir I am a 6th grade student who is interested in python your course helped me in creating my first python program. Please upload video's more like this
My first successful project on phyton. Feels great..... Thank you again for the video. Sir your explanation was good. Good video.. And precise explanation also neat work
actually brother, he is doing at pm, not am, check the properly again and if you are talking video's release time then simple, he made the video yesterday evening/night and woke up at morning and uploaded it, common sense brother
Hats off to you sir..👏 Amazing.. I thought it wouldn't work.. But I given a trial.. To my surprise..it worked.. Thank you so much sir.. Expecting more like above...
Instead of calling time, create a function to increase the value of the seconds variable by 1 at each call, and check if second = 60 then increase minute by 1 and reset second to 0 similarly do this for hour. This is more optimised and also allows us to add a option to change time
Me before even knowing a thing of coding: Let's learn coding I will make a website After I know: Learning a clock because my website isn't working Like if it happened with you
😂Lmao u do know that this is a python tutorial right?? Website design is html so this tutorial doesn’t even use the same programming language as your site so this tutorial will not help you with your site 😂😂 you really don’t know a thing about coding 🤣🤣
i had these errors can you help find the solution to these Traceback (most recent call last): File "C:\Users\iakob\PycharmProjects\MainProject1\main.py", line 16, in time() File "C:\Users\iakob\PycharmProjects\MainProject1\main.py", line 10, in time string = strftime('%H:%M:%S %P') ValueError: Invalid format string
label = label(root, font=("DS-Digital",80), ba7, in ckground = "black", foreground = "cyan") ckground = "black", foreground = "cyan") NameError: name 'label' is not defined
Traceback (most recent call last): File "E:\python PR\main.py", line 13, in labe1 = Labe1(root,font=("ds-digital",80),background = "black",foreground = "cyan") NameError: name 'Labe1' is not defined
Here are couple issues I had which is why the successful clock program did not work for me initially. 1. Be sure the computer you are using to write program on, is connected to internet as some libraries have to be installed while writing program. 2. On line 6 >>>> root = TK() root = Tk()
I am using linux to use pycharm so can you please tell me how to install the font provided by you in linux ? please help i am stuck in between the process.
This worked i just have two small issues, for some reason Visual Studio Code is giving me this error "Tk is deprecated and may be removed in a future release. Please don't rely on it. Set TK_SILENCE_DEPRECATION=1" and my clock background isn't black but it did work once i used as line one.
File "/data/user/0/ru.iiec.pydroid3/files/temp_iiec_codefile.py", line 12 label.after(1000, time) ^ IndentationError: unindent does not match any outer indentation level
I come near to my own project thanks to your clock tutorial :D I was coding the clock first then I coded how many seconds I've to wait until my birthday :D :P
Download and install Python from here : www.python.org/ Then download and install Pycharm from here : www.jetbrains.com/pycharm/ Then you can start with the projects. If you want a detailed video on how to get started with python then let me know.
yes you can, there are many ways to do this. you can check this thread for reference, stackoverflow.com/questions/4438020/how-to-start-a-python-file-while-windows-starts
wow bro i imagine how gonna work this i have some ideas about but nothin you teached how to make that and lot of help me to begin my python scripting imagine some day i.m trying to become master on that ! RESPECT
This was a cool project! I didn't want to download any new fonts and instead just used "Ariel" for mine, so you can used any of the already installed windows fonts by using their name.
To make the clock format 12 hrs. Simply change the strftime('%H:%M:%S %p') to strftime('%I:%M:%S %p').
Do we need to install tkinter like in the terminal pip install method or Directly import it in the code?
@@karanjitsinghrandhawa445 tkinter comes with python. You don't need to install it via terminal. Just import it in the code directly.
@@emranevan ok thank you
Thank u... Thank u so much 4 this.... 🤗🤗🤗🤗🤗
Thanks
Your keyboard sounds are so satisfying.....
What is the name of your keybord??🥰
@@moontasirmoon5991 KEYBOARD JOHN CENA!
@@moontasirmoon5991 mechanical keyboard blue switch
yes man what a nice and satisfying keyboard
Yeahh❄like ur sound.. ^^
Thank you sir I am a 6th grade student who is interested in python your course helped me in creating my first python program. Please upload video's more like this
My life's first successful project (:>
God bless you brother ❤️ 👍
Mine to
congrats bro Insallha Allah rabulizzat will give you a rout of good track and you follow
Me to bro its amazing
Bro you can make minecraft also
My first successful project on phyton. Feels great..... Thank you again for the video. Sir your explanation was good. Good video.. And precise explanation also neat work
Bro what did you taken in Tk
Hey man, I am going to do it later today, so exited, I was wondering how you were going with coding lately
Are you getting better at coding
Im currently making a Operating system, Its a app but if you fullscreen it, it feels like a operating syystem
@@reallifehunt7313 bro that's insane
@@kingproductions2331 thanks bro
Your keyboard sounds great 👍 👌 😀 😄 🙂 😏 👍 👌 😀 😄
Damn, that feels good to finally start and finish a project! Never been so happy to see a clock pop up on my screen!
Thank you for the video
@Alan Brewer can u help me with my issue ?
@@maxson5815 I may be able to.
That quick!? It took me a whole 5 hours to make a clock in Java!
I’m surprised you made a program this early in the morning! I’m very impressed!
actually brother, he is doing at pm, not am, check the properly again and if you are talking video's release time then simple, he made the video yesterday evening/night and woke up at morning and uploaded it, common sense brother
@@dubbedanbis3135 no man I think he is talking about the clock he just made showed 1 am
@@self-proclaimedanimator hmm maybe
Sir I didn't install the Ds- Digital font but still I didn't got any errors. Wonderful tutorial, great tutorial.
Ds-Digital was just an example. you dont need to install it. have a nice day
btw you can use any font you want
thanks, man. I just wished you explained the terms... Btw, many thanks
Wow....its awee...frst tim felt very happy to run this program....this motivates to do more in python..denksss for the vdo🎉❤
my first python project, thanks so much evan
Very good project I was able to follow along and actually finish it!
same here
Thanks bro it will help in my future projects
Yes
My first successful project in python! Thank's man!
Traceback (most recent call last):
File "/Users/mrstef07/Documents/clock.py", line 15, in
Label.pack(anchor='center')
TypeError: Pack.pack_configure() missing 1 required positional argument: 'self'
Label.pack(anchor='center')
Mistake:
You wrote a capital 'L' in label.pack
correct line:
label.pack(anchor='center')
That's unbelievable sir
Thanku soo much sir 🤠🤠🤠🤠🤠😌😌😌😌😌
Your step by step are easy to follow even for a newbie like me. Thanks for nice tutorial!!
#youtubeshorts #programmingmemes #programmers #ytshorts
ua-cam.com/users/shortsqsjSwhT6DlY?feature=share
@@celebstoday3560 ??
Successfully done on first try thanks.with out downloading ds digital it's work.
Hats off to you sir..👏
Amazing..
I thought it wouldn't work..
But I given a trial..
To my surprise..it worked..
Thank you so much sir..
Expecting more like above...
Thank you. You'll find more videos like this on my channel.
@@CodingWithEvan which python did you use? Please help
IT WORKED, MY FIRST PROJECT. THANKS !!! I INSTANTLY LIKED AND SUBSCRIBED.
Instead of calling time, create a function to increase the value of the seconds variable by 1 at each call, and check if second = 60 then increase minute by 1 and reset second to 0 similarly do this for hour.
This is more optimised and also allows us to add a option to change time
True
But please tell how will the clock know current time then?
Very nice project and this is my first project
I have created my own search engine, virtual assistant, screen recorder 😎
and here you are, copying how to make a simple clock like all of us
@@andrazsraka3941 no I'm here to clear my doubts
@@aaryansingh5719 by which language? python or c
Finally my first python project complete successfully
Great video. Appreciate the effort by this person
i did it and it worked i will go and learn how to convert to executable file right now thank you and i really appreciate🥰 this knowledge
Hippity Hoppity,
Your code is now my property~
Thanks bro it helped me to learn something new
It worked so well I just had to come back and like 👏
Amazing bhai love from bihar
I think i saw you on Code with harry channel
@@Victor-ev3vu may be
@@Victor-ev3vu by the way hi
Thanks @Evan sir I am looking more such project in pycharm ......1st succesful project in pycharm
Thank you Man. This was my first code and because of you it was successful
Excellent video you are a superb teacher
I'm very much excited after making my first python project, thanks for creating such kind of videos. 😊😊
No click bait really good
Me before even knowing a thing of coding: Let's learn coding I will make a website
After I know: Learning a clock because my website isn't working
Like if it happened with you
😂Lmao u do know that this is a python tutorial right?? Website design is html so this tutorial doesn’t even use the same programming language as your site so this tutorial will not help you with your site 😂😂 you really don’t know a thing about coding 🤣🤣
@@whyeatallchimkennuggies7505 I just commented randomly. I know python
Nice this is my first ever project in python
For Python3:
from tkinter import *
from tkinter.ttk import *
from time import strftime
root = Tk()
root.title("Clock")
def time():
string = strftime("%I:%M:%S %p")
label.config(text = string)
label.after(1000, time)
label = Label(root, font = "ds-digital 100", background = "dark blue", foreground = "green")
label.pack(anchor = "center")
time()
mainloop()
ttk is no module names🥺
thanks but whats the difference between this and the one in the video?
@@luffiing1148 there are differences, if u are a real coder, u would see them in a second
i had these errors can you help find the solution to these
Traceback (most recent call last):
File "C:\Users\iakob\PycharmProjects\MainProject1\main.py", line 16, in
time()
File "C:\Users\iakob\PycharmProjects\MainProject1\main.py", line 10, in time
string = strftime('%H:%M:%S %P')
ValueError: Invalid format string
@@_.Jac0b_ the p in the format of clock should be lower case
I did twice and it failed but then I gave of another try and it worked man thanks I did my first python project 😃
label = label(root, font=("DS-Digital",80), ba7, in ckground = "black", foreground = "cyan") ckground = "black", foreground = "cyan")
NameError: name 'label' is not defined
L should be capital..Label(root,...
Change label to Label
copy this :
Label.config(text=string)
Label.after(1000, time)
Label = Label(root, font=("ds-digital", 80), background = "black", foreground = "cyan")
Label.pack(anchor='center')
@@hamzaaouni34 the clock is not showing but code is correct no error . what's the problem?
Thank you so much!! This is my first python project. Feels great after finishing this!!!
Traceback (most recent call last):
File "E:\python PR\main.py", line 13, in
labe1 = Labe1(root,font=("ds-digital",80),background = "black",foreground = "cyan")
NameError: name 'Labe1' is not defined
Bro It's "Label" not "Labe1"
@@CodingWithEvan
Oh thanks, the program worked!
Thank you so much bro....
All other video recommendations are so long...
Thanks a lot bro................
Amazing and motivating
Hey awesome it really works feel better thanks a lot bro ..........................................
15th line giving error
label.pack(anchor='center')
syntaxError: invalid syntax
Please give me.solution
It is my first python program
you ever figure it out i am stuck in the same part
@@jeremiahcuthbert1300 remove centre, instead type'n' , problem resolved
Thanks man that was helpful
Now i can use my own clock to adjust my time
How the viewers are getting the keyboard sound satisfying
Same here😂😂😂😂😂
Wow bro you are from Bangladesh
Im too!
Here are couple issues I had which is why the successful clock program did not work for me initially.
1. Be sure the computer you are using to write program on, is connected to internet as some libraries have to be installed while writing program.
2. On line 6 >>>> root = TK() root = Tk()
You are genius dude!
When I run they show
NameError: name 'TK' is not defined
did you do Tk in all caps if not you might have to install Tkinter
Thank you very much! A simple and perfect demonstration for beginners.
bro if possible pls explain the code a little bit cause for beginners its hard to understand , but overall the code is lit
Thank you for such a beatiful and understandable project Mr.Evan
I am using linux to use pycharm so can you please tell me how to install the font provided by you in linux ? please help i am stuck in between the process.
fonts.google.com, and press download, then open the folder called ttf o otf idk. thats it
The real code is
from tkinter import *
from tkinter.ttk import *
from time import strftime
root = Tk()
root.title("clock")
def time():
string = strftime('%H:%M:%S %p')
label.config(text=string)
label.after(1000, time)
label = Label(root, font=("ds-digital", 80), background="black", foreground = "cyan")
label.pack(anchor='center')
time()
mainloop()
This one worked for me. The Video's code did not run
This worked i just have two small issues, for some reason Visual Studio Code is giving me this error "Tk is deprecated and may be removed in a future release. Please don't rely on it. Set TK_SILENCE_DEPRECATION=1" and my clock background isn't black but it did work once i used as line one.
thans bhai tere wazh se hi project bna ye vidoe faltu h sala bhut error thi
thanks for the video Brooo
it helped me a lot
great tutorial bro! thank you!
Thank you so much sir,
I have done successfully .❤❤😊😊
What is the name of your keybord?🥰
A4tech Bloody B820R
File "/data/user/0/ru.iiec.pydroid3/files/temp_iiec_codefile.py", line 12
label.after(1000, time)
^
IndentationError: unindent does not match any outer indentation level
laptop lele ek
I come near to my own project thanks to your clock tutorial :D
I was coding the clock first then I coded how many seconds I've to wait until my birthday :D :P
Nice video. I have a question. Why use the time module when we can use datetime
thanks this really worked and looks cool by making a clock by myself
thank you so much its working
It worked at first run.Thanks
Hi good video, how to start with python script?
Download and install Python from here : www.python.org/
Then download and install Pycharm from here : www.jetbrains.com/pycharm/
Then you can start with the projects.
If you want a detailed video on how to get started with python then let me know.
@@CodingWithEvan thanks, I have installed both of them. Yeah, I would like to have detailed videos to get start... Could you please share?
thanks bro just got fascinated
Sir can I make it play whenever I turn on my pc? If yes then how?
yes you can, there are many ways to do this.
you can check this thread for reference, stackoverflow.com/questions/4438020/how-to-start-a-python-file-while-windows-starts
@@CodingWithEvan thanks man
wow bro i imagine how gonna work this i have some ideas about but nothin you teached how to make that and lot of help me to begin my python scripting imagine some day i.m trying to become master on that ! RESPECT
you earned another
subscriber
Very nice video ...
This was a cool project! I didn't want to download any new fonts and instead just used "Ariel" for mine, so you can used any of the already installed windows fonts by using their name.
Your video is really helpful sir
Thank you 👍
Thanks very much man! I followed the tutorial and it works!!
LOVE FROM BANGLADESH 😇
I learn so much in this video thanks you
Wow, this is impressive. Thank you.
Your channel really upload great videos 👍👍👍👍👍👍👍👍👍
your videos made me to hit the subscribe button
thanks for making this tutorial, it's really easy to follow along.....
Hi
This video is very simple and very easy to follow, thanks bro.
Thank you buddy .itz successfully done as I changed %H TO %I .
this vedio is very useful for me how to make a python clock thk u
Thank you so much wonderful video...!!
Thanks, man this was a great project and it will be very useful next time I try to make a clock, again Thanks
Thankyou! This is very helpful for my first python project in my class
😂😂😂
thanks so much.... I would like to see some web applications with python with django and mysql together.....manohar
Nice Work
i did this myself and finished it! this is my first cool pythin project i did
Thanks god is work. Thank you for this videos im newbie in phyton language🙏🙏🙏🙏
God bless you brother ❤️👍
tnx bruv , done subscribing! :)
It was easy, I finished it in a minute ! , thank you for this video.
i think so we need some file for digital clock where we can down
Wow fantastic pro✌✌
Thanks For the code bro.
Nice more please..!!!🙏🙏🙏
First Project always special