diff --git a/Digital-Clock/Sourodip20kar.md b/Digital-Clock/Sourodip20kar.md deleted file mode 100644 index 26efee5..0000000 --- a/Digital-Clock/Sourodip20kar.md +++ /dev/null @@ -1,27 +0,0 @@ -# Digital Clock -## code -``` -import tkinter -from time import strftime - -top = tkinter.Tk() -top.title('Digital Clock') -top.resizable(0,0) - -def time(): - string = strftime('%H: %M: %S %p') - clockTime.config(text=string) - clockTime.after(1000, time) - -clockTime = tkinter.Label(top, font=('courier new', 40), -background='white',foreground='black') -clockTime.pack(anchor='center') -time() -top.mainloop() - -``` - -![Screenshot 2022-10-04 195233](https://user-images.githubusercontent.com/104223444/193844936-aee558c0-6b43-4096-9b9c-cc3ef23a29ed.png) - -## ISSSUE -https://github.com/metafy-social/daily-python-scripts/issues/128#issue-1396619270 diff --git a/Digital-Clock/readme.md b/Digital-Clock/readme.md new file mode 100644 index 0000000..8f90c42 --- /dev/null +++ b/Digital-Clock/readme.md @@ -0,0 +1,7 @@ +# Digital Clock + +## Preview +![Screenshot 2022-10-04 195233](https://user-images.githubusercontent.com/104223444/193844936-aee558c0-6b43-4096-9b9c-cc3ef23a29ed.png) + +## ISSSUE +https://github.com/metafy-social/daily-python-scripts/issues/128#issue-1396619270