Popular recipes tagged "sizeof", "gui" and "application"http://code.activestate.com/recipes/tags/sizeof+gui+application/2011-02-09T13:47:54-08:00ActiveState Code RecipesDirectory Size (GUI) (Python)
2011-02-09T13:47:54-08:00Stephen Chappellhttp://code.activestate.com/recipes/users/2608421/http://code.activestate.com/recipes/577567-directory-size-gui/
<p style="color: grey">
Python
recipe 577567
by <a href="/recipes/users/2608421/">Stephen Chappell</a>
(<a href="/recipes/tags/application/">application</a>, <a href="/recipes/tags/directory/">directory</a>, <a href="/recipes/tags/gui/">gui</a>, <a href="/recipes/tags/sizeof/">sizeof</a>, <a href="/recipes/tags/tree/">tree</a>).
Revision 2.
</p>
<p>Have you ever wanted to find out how much room a particular directory was taking up on your hard drive? A roommate of mine in college was having trouble keeping track of where his hard drive space is going, so the following program provided a solution that allows a brief overview of a directory's size along with all of its children. A tree view is created using tkinter and is populated with the directory's name, cumulative size, immediate total file size, and full path. The search button is disabled during a search, and the directory listing with its children is automatically updated.</p>