Top-rated recipes tagged "archive" but not "cgi"http://code.activestate.com/recipes/tags/archive-cgi/top/2012-07-13T14:37:26-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>
Archiving time series (Python)
2011-04-14T15:39:57-07:00Tyler Grosshueschhttp://code.activestate.com/recipes/users/4177659/http://code.activestate.com/recipes/577653-archiving-time-series/
<p style="color: grey">
Python
recipe 577653
by <a href="/recipes/users/4177659/">Tyler Grosshuesch</a>
(<a href="/recipes/tags/archive/">archive</a>, <a href="/recipes/tags/backup/">backup</a>, <a href="/recipes/tags/timestamp/">timestamp</a>).
</p>
<p>Copies files and directories periodically to a time-stamaped directory. Used to create a running record of digital files to document change over time.</p>
Self Extracting Archiver (Python)
2012-06-20T22:32:01-07:00Stephen Chappellhttp://code.activestate.com/recipes/users/2608421/http://code.activestate.com/recipes/577485-self-extracting-archiver/
<p style="color: grey">
Python
recipe 577485
by <a href="/recipes/users/2608421/">Stephen Chappell</a>
(<a href="/recipes/tags/archive/">archive</a>, <a href="/recipes/tags/python/">python</a>).
Revision 6.
</p>
<p>This is a command-line tool for making self-extracting file archives in Python.</p>
Windows Registry: Search & Destroy (Python)
2012-07-12T12:23:05-07:00Stephen Chappellhttp://code.activestate.com/recipes/users/2608421/http://code.activestate.com/recipes/578209-windows-registry-search-destroy/
<p style="color: grey">
Python
recipe 578209
by <a href="/recipes/users/2608421/">Stephen Chappell</a>
(<a href="/recipes/tags/archive/">archive</a>, <a href="/recipes/tags/delete/">delete</a>, <a href="/recipes/tags/old/">old</a>, <a href="/recipes/tags/search/">search</a>, <a href="/recipes/tags/windows_registry/">windows_registry</a>).
</p>
<p>If you know that your registry has useless information in it and want to remove entries, this recipe was provide you with a simple way of accomplishing such a purpose. After entering strings to match and causing an EOF, the program will search for what you entered, and is designed to automatically delete what was requested. This is committed for archival to be run under Python 2.5 or later versions.</p>
Human Population Simulator (Python)
2012-07-13T14:37:26-07:00Stephen Chappellhttp://code.activestate.com/recipes/users/2608421/http://code.activestate.com/recipes/578208-human-population-simulator/
<p style="color: grey">
Python
recipe 578208
by <a href="/recipes/users/2608421/">Stephen Chappell</a>
(<a href="/recipes/tags/archive/">archive</a>, <a href="/recipes/tags/human/">human</a>, <a href="/recipes/tags/old/">old</a>, <a href="/recipes/tags/populate/">populate</a>, <a href="/recipes/tags/simulation/">simulation</a>).
Revision 2.
</p>
<p>After wondering about how populations can increase in size, a simulator was written with a very simplistic model for total human growth. This is the result of an old experiment and served its purpose well at the time. This is committed for archival to be run under Python 2.5 or later versions.</p>
Zero (Batch) Programs (Python)
2012-07-10T12:37:37-07:00Stephen Chappellhttp://code.activestate.com/recipes/users/2608421/http://code.activestate.com/recipes/578205-zero-batch-programs/
<p style="color: grey">
Python
recipe 578205
by <a href="/recipes/users/2608421/">Stephen Chappell</a>
(<a href="/recipes/tags/archive/">archive</a>, <a href="/recipes/tags/batch/">batch</a>, <a href="/recipes/tags/old/">old</a>, <a href="/recipes/tags/processing/">processing</a>, <a href="/recipes/tags/utility/">utility</a>).
Revision 2.
</p>
<p>Having written many programs that work with groups of files, the zero programs were written based on a simple batch engine in the <code>zero</code> utility. All of the other programs import the first program to take advantage of its batch processor while supplementing there own functionality in place of zeroing out file data. This is committed for archival to be run under Python 2.5 or later versions.</p>
Directory & File Counter (Python)
2012-07-07T22:07:51-07:00Stephen Chappellhttp://code.activestate.com/recipes/users/2608421/http://code.activestate.com/recipes/578197-directory-file-counter/
<p style="color: grey">
Python
recipe 578197
by <a href="/recipes/users/2608421/">Stephen Chappell</a>
(<a href="/recipes/tags/archive/">archive</a>, <a href="/recipes/tags/old/">old</a>, <a href="/recipes/tags/utility/">utility</a>).
</p>
<p>This recipe manually counts the number of sub-directories and files can be found in a directory. It was an experimental program from long ago used to learn more about Python. This is committed for archival to be run under Python 2.5 or later versions.</p>
Linux to Windows (Python)
2012-07-04T01:18:50-07:00Stephen Chappellhttp://code.activestate.com/recipes/users/2608421/http://code.activestate.com/recipes/578192-linux-to-windows/
<p style="color: grey">
Python
recipe 578192
by <a href="/recipes/users/2608421/">Stephen Chappell</a>
(<a href="/recipes/tags/archive/">archive</a>, <a href="/recipes/tags/commandline/">commandline</a>, <a href="/recipes/tags/old/">old</a>, <a href="/recipes/tags/utility/">utility</a>).
</p>
<p>When trying to work with Linux archive downloaded onto Windows, sometimes it is helpful to untar all found archives, give extension-less files the "txt" extension, and convert text files to Windows line endings (\r\n), and that is just what this program is designed to accomplish. This is committed for archival to be run under Python 2.5 or later versions.</p>
Extract Multiple TAR Files & Directories (Python)
2012-07-04T00:57:37-07:00Stephen Chappellhttp://code.activestate.com/recipes/users/2608421/http://code.activestate.com/recipes/578191-extract-multiple-tar-files-directories/
<p style="color: grey">
Python
recipe 578191
by <a href="/recipes/users/2608421/">Stephen Chappell</a>
(<a href="/recipes/tags/archive/">archive</a>, <a href="/recipes/tags/commandline/">commandline</a>, <a href="/recipes/tags/old/">old</a>, <a href="/recipes/tags/tarfile/">tarfile</a>).
</p>
<p>Related to the popular <a href="http://code.activestate.com/recipes/442503/">recipe 442503</a>, this command-line program takes multiple TAR files or directories and can extract them in a batch operation. This is committed for archival to be run under Python 2.5 or later versions.</p>
Pants (Python)
2012-07-03T05:31:24-07:00Stephen Chappellhttp://code.activestate.com/recipes/users/2608421/http://code.activestate.com/recipes/578188-pants/
<p style="color: grey">
Python
recipe 578188
by <a href="/recipes/users/2608421/">Stephen Chappell</a>
(<a href="/recipes/tags/archive/">archive</a>, <a href="/recipes/tags/old/">old</a>, <a href="/recipes/tags/programs/">programs</a>, <a href="/recipes/tags/shell/">shell</a>).
</p>
<p>According to memory this is a port of a shell script called pants that allows one to "start," "stop," "restart," and find the "status" of one's pants (the program itself). I am not sure what the silliness is about but must have found the idea interesting to rewrite in Python. This is committed for archival to be run under Python 2.5 or later versions.</p>
SEA Example (Python)
2011-07-11T21:51:52-07:00Stephen Chappellhttp://code.activestate.com/recipes/users/2608421/http://code.activestate.com/recipes/577785-sea-example/
<p style="color: grey">
Python
recipe 577785
by <a href="/recipes/users/2608421/">Stephen Chappell</a>
(<a href="/recipes/tags/archive/">archive</a>).
</p>
<p>This is an example of the output from <a href="http://code.activestate.com/recipes/577485/">recipe 577485</a> after being formatted for 80 character line width. The file that it generated by the self extracting archiver is a simple PNG image that is only slightly larger than its raw version. By combining adaptive compression with base 64 encoding, the SEA can effectively turn a file into a Python program capable of recreating the original source. Please note that the last instruction in the generated program can only be run on Windows, and any suggestions on using a cross platform alternative would be greatly appreciated.</p>
Console CD Player (Python)
2012-07-11T12:26:10-07:00Stephen Chappellhttp://code.activestate.com/recipes/users/2608421/http://code.activestate.com/recipes/578207-console-cd-player/
<p style="color: grey">
Python
recipe 578207
by <a href="/recipes/users/2608421/">Stephen Chappell</a>
(<a href="/recipes/tags/archive/">archive</a>, <a href="/recipes/tags/console/">console</a>, <a href="/recipes/tags/old/">old</a>, <a href="/recipes/tags/playback/">playback</a>).
</p>
<p>You have probably seen many different GUI programs that can play music on CDs. Well, here is a console-based recipe that can do the same thing. This is committed for archival to be run under Python 2.5 or later versions.</p>
Rookie's Backup Program (Python)
2012-07-08T00:52:05-07:00Stephen Chappellhttp://code.activestate.com/recipes/users/2608421/http://code.activestate.com/recipes/578199-rookies-backup-program/
<p style="color: grey">
Python
recipe 578199
by <a href="/recipes/users/2608421/">Stephen Chappell</a>
(<a href="/recipes/tags/archive/">archive</a>, <a href="/recipes/tags/copy/">copy</a>, <a href="/recipes/tags/old/">old</a>, <a href="/recipes/tags/utility/">utility</a>).
</p>
<p>A while back when still fairly new to Python, this simple program was developed to back directories of information. In reality, it is just a simple (and poorly written) file copier that could be greatly improved. This is committed for archival to be run under Python 2.5 or later versions.</p>