Popular recipes tagged "clock" but not "macbook_pro"http://code.activestate.com/recipes/tags/clock-macbook_pro/2016-12-30T19:06:32-08:00ActiveState Code RecipesA command-line musical alarm clock (Python)
2016-12-30T19:06:32-08:00Vasudev Ramhttp://code.activestate.com/recipes/users/4173351/http://code.activestate.com/recipes/580739-a-command-line-musical-alarm-clock/
<p style="color: grey">
Python
recipe 580739
by <a href="/recipes/users/4173351/">Vasudev Ram</a>
(<a href="/recipes/tags/alarm/">alarm</a>, <a href="/recipes/tags/audio/">audio</a>, <a href="/recipes/tags/clock/">clock</a>, <a href="/recipes/tags/multimedia/">multimedia</a>, <a href="/recipes/tags/music/">music</a>, <a href="/recipes/tags/playsound/">playsound</a>, <a href="/recipes/tags/python/">python</a>, <a href="/recipes/tags/time/">time</a>, <a href="/recipes/tags/utilities/">utilities</a>, <a href="/recipes/tags/utility/">utility</a>).
</p>
<p>This is a simple musical alarm clock in Python. You pass a command-line argument specifying the time in minutes after which the alarm should go off. When that time arrives, it plays a musical sound.</p>
Simple command-line alarm clock in Python (Python)
2015-10-25T18:27:27-07:00Vasudev Ramhttp://code.activestate.com/recipes/users/4173351/http://code.activestate.com/recipes/579117-simple-command-line-alarm-clock-in-python/
<p style="color: grey">
Python
recipe 579117
by <a href="/recipes/users/4173351/">Vasudev Ram</a>
(<a href="/recipes/tags/alarm/">alarm</a>, <a href="/recipes/tags/clock/">clock</a>, <a href="/recipes/tags/commandline/">commandline</a>, <a href="/recipes/tags/linux/">linux</a>, <a href="/recipes/tags/python/">python</a>, <a href="/recipes/tags/time/">time</a>, <a href="/recipes/tags/unix/">unix</a>, <a href="/recipes/tags/windows/">windows</a>).
</p>
<p>This recipe shows how to create a simple alarm clock in Python, that can be run from the command line in a terminal. It lets you specify the alarm time in minutes as a command line argument, and prints a wake-up message and beeps a few times, after that time arrives. You can use 0 for the minutes to test it immediately, including to adjust the volume using your speaker controls.</p>
Analog Clock (Python)
2014-05-14T20:53:39-07:00Paulo Cavalcantihttp://code.activestate.com/recipes/users/4189949/http://code.activestate.com/recipes/578875-analog-clock/
<p style="color: grey">
Python
recipe 578875
by <a href="/recipes/users/4189949/">Paulo Cavalcanti</a>
(<a href="/recipes/tags/clock/">clock</a>).
Revision 3.
</p>
<p>A python-tkinter analog clock</p>
Analog clock (HTML)
2013-10-11T16:12:33-07:00greg zakharovhttp://code.activestate.com/recipes/users/4184115/http://code.activestate.com/recipes/578686-analog-clock/
<p style="color: grey">
HTML
recipe 578686
by <a href="/recipes/users/4184115/">greg zakharov</a>
(<a href="/recipes/tags/analog/">analog</a>, <a href="/recipes/tags/clock/">clock</a>, <a href="/recipes/tags/svg/">svg</a>).
</p>
<p>Simplest analog clock (CSS, SVG, JavaScript).</p>
Analog clock (Python)
2013-10-11T05:25:34-07:00greg zakharovhttp://code.activestate.com/recipes/users/4184115/http://code.activestate.com/recipes/578683-analog-clock/
<p style="color: grey">
Python
recipe 578683
by <a href="/recipes/users/4184115/">greg zakharov</a>
(<a href="/recipes/tags/analog/">analog</a>, <a href="/recipes/tags/clock/">clock</a>).
</p>
<p>Analog clock with Qt4</p>
Analog clock (Ruby)
2013-10-11T05:23:49-07:00greg zakharovhttp://code.activestate.com/recipes/users/4184115/http://code.activestate.com/recipes/578682-analog-clock/
<p style="color: grey">
Ruby
recipe 578682
by <a href="/recipes/users/4184115/">greg zakharov</a>
(<a href="/recipes/tags/analog/">analog</a>, <a href="/recipes/tags/clock/">clock</a>).
</p>
<p>Analog clock with Qt4</p>
Analog stopclock (Python)
2013-03-15T18:30:37-07:00prashanth.chengihttp://code.activestate.com/recipes/users/4185699/http://code.activestate.com/recipes/578493-analog-stopclock/
<p style="color: grey">
Python
recipe 578493
by <a href="/recipes/users/4185699/">prashanth.chengi</a>
(<a href="/recipes/tags/analog/">analog</a>, <a href="/recipes/tags/chess/">chess</a>, <a href="/recipes/tags/clock/">clock</a>).
</p>
<p>A very simple tkinter analog stopclock</p>
Command Line Windows Alarm Clock (Python)
2012-12-05T23:53:49-08:00Stephen Chappellhttp://code.activestate.com/recipes/users/2608421/http://code.activestate.com/recipes/578362-command-line-windows-alarm-clock/
<p style="color: grey">
Python
recipe 578362
by <a href="/recipes/users/2608421/">Stephen Chappell</a>
(<a href="/recipes/tags/alarm/">alarm</a>, <a href="/recipes/tags/clock/">clock</a>, <a href="/recipes/tags/demonstration/">demonstration</a>, <a href="/recipes/tags/windows/">windows</a>).
</p>
<p>Using primitive but simple calculations, the alarm program below will find the offset to the time specified, sleep, and awake to run an alarm until terminated. This Windows recipe utilizes the <code>msvcrt</code> and <code>winsound</code> modules to operate and has limited use elsewhere.</p>
Change console title on clock (Batch)
2012-11-14T19:04:20-08:00greg zakharovhttp://code.activestate.com/recipes/users/4184115/http://code.activestate.com/recipes/578327-change-console-title-on-clock/
<p style="color: grey">
Batch
recipe 578327
by <a href="/recipes/users/4184115/">greg zakharov</a>
(<a href="/recipes/tags/clock/">clock</a>).
</p>
<p>Use Ctrl+C to break executing script.</p>
Custom Windows Alarm Clock (Python)
2012-07-10T17:27:48-07:00Stephen Chappellhttp://code.activestate.com/recipes/users/2608421/http://code.activestate.com/recipes/578204-custom-windows-alarm-clock/
<p style="color: grey">
Python
recipe 578204
by <a href="/recipes/users/2608421/">Stephen Chappell</a>
(<a href="/recipes/tags/alarm/">alarm</a>, <a href="/recipes/tags/archive/">archive</a>, <a href="/recipes/tags/clock/">clock</a>, <a href="/recipes/tags/old/">old</a>, <a href="/recipes/tags/utility/">utility</a>).
</p>
<p>After writing a few alarms using <code>winsound.Beep</code>, desire to expand into other sound possibilities led to the writing of this program using <code>winsound.PlaySound</code>. The sounds are stored in a custom format (some experimentation in archiving files). This is committed for archival to be run under Python 2.5 or later versions.</p>
analog clock (Python)
2009-07-04T03:03:22-07:00Anton Vredegoorhttp://code.activestate.com/recipes/users/2667360/http://code.activestate.com/recipes/576830-analog-clock/
<p style="color: grey">
Python
recipe 576830
by <a href="/recipes/users/2667360/">Anton Vredegoor</a>
(<a href="/recipes/tags/clock/">clock</a>).
</p>
<p>A very simple tkinter analog clock</p>