Popular recipes tagged "meta:loc=304"http://code.activestate.com/recipes/tags/meta:loc=304/2012-07-10T17:27:48-07:00ActiveState Code RecipesCustom 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>
Disk space usage displayed as a tree (Python)
2008-01-27T00:36:27-08:00Thiagarajan Hariharanhttp://code.activestate.com/recipes/users/4118957/http://code.activestate.com/recipes/543270-disk-space-usage-displayed-as-a-tree/
<p style="color: grey">
Python
recipe 543270
by <a href="/recipes/users/4118957/">Thiagarajan Hariharan</a>
(<a href="/recipes/tags/sysadmin/">sysadmin</a>).
</p>
<p>Displays the disk space used by all the files/directories under the given directories. The depth to which the directories are displayed can be specified. There are three different options to select which files/directories are displayed - top N, cumulative percent contribution, individual percent contribution. The user can also control whether files should be shown along with directories. For each entry, in addition to its disk space, the percentage of the disk space of the parent directory that the entry consumes is also shown.</p>