Posts

Python Alarm clock

 Source code:  Alarm clock using python. import   winsound from   win10toast   import   ToastNotifier import   tkinter   as   tk root  =  tk . Tk () root . geometry ( "350x400" ) mess_var  =  tk . StringVar () duration_var  =  tk . StringVar () def   submit ( message ,  minutes ,  d ):      global   root      notificator  =  ToastNotifier ()      notificator . show_toast (          "Alarm" ,  f "Alarm for  { minutes } ,minutes.." ,  duration = d )      winsound . Beep ( frequency = 300 ,  duration = 2000 )      notificator . show_toast ( f "Alarm" ,  message ,  duration = 0 )      root . quit () mess_var . set ( "" ) duration_var . set ( "" ) def   call ():      mess ...

Html for practice-Calculator

Html for practice: Calculator: < html > < head > < title > Calculator </ title > < style >        .cbody {          width : 260px ;          height : 450px ;          border : 2px   solid   grey ; padding : 0px ; box-shadow :  2px   3px   5px   3px   black ; background : lightgrey ;     } #display {      width :  250px ;      height : 50px ;      background : rgb ( 5 ,  243 ,  5 );      border : 2px   solid   grey ;      margin-top : 5px ; padding : 0px ; box-shadow :  2px   3px   5px   3px   black ; font-size : 20px ; text-align : right ; } .divb { margin-top : 20px ; border : 0px   solid   rgb ( 58 ,...

Html for practice-friends

Html code for practice: Friends:   <!DOCTYPE html> <head>                    <style>         body {             background-image:url("https://images.unsplash.com/photo-1506869640319-fe1a24fd76dc?ixid=MnwxMjA3fDB8MHxzZWFyY2h8MXx8Z3JvdXAlMjBvZiUyMGZyaWVuZHN8ZW58MHx8MHx8&ixlib=rb-1.2.1&w=1000&q=80");                    position: fixed;           background-repeat: no-repeat;         }         #paste {             background-color: rgb(103, 196, 196);             height: 20px;             width: 300px;             display: block;             border: 1px solid white;        ...