- Get link
- X
- Other Apps
-python digital watch module:
-making digital watch from python :
- firstly you have to download python with a suitable notebook
- highly recommended notebook is visual studio code..
some points to remember :
if you wants to change background color :
Label=Label(root,font=('ds_digital',50,'bold'),bg='black',fg='cyan',bd=50
change bg='black' , to bg='color you wants to add ' .
if you wants to change watch color:
Label=Label(root,font=('ds_digital',50,'bold'),bg='black',fg='cyan',bd=50)
change fg='cyan' , to fg='color you wants to add' .
if you wants to change dimension of watch:
root.geometry("400x200+50+6")
change root.geometry("400x200+50+6") , to root.geometry(" dimension you want") .
here 400=width,
200=height,
50=right
6=top
if you wants to change watch font style:
Label=Label(root,font=('ds_digital',50,'bold'),bg='black',fg='cyan',bd=50)
change ..........font=('ds_digital' ....... to , .......font=(" font style name"......
here your watch gets ready to be used:
- Get link
- X
- Other Apps
Comments
Post a Comment