Popular recipes tagged "copy" but not "directory"http://code.activestate.com/recipes/tags/copy-directory/2012-07-08T00:52:05-07:00ActiveState Code RecipesRookie'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> A Komodo macro for duplicating the current file in Komodo 6 (JavaScript) 2011-02-03T23:47:41-08:00Eric Promislowhttp://code.activestate.com/recipes/users/4166930/http://code.activestate.com/recipes/577562-a-komodo-macro-for-duplicating-the-current-file-in/ <p style="color: grey"> JavaScript recipe 577562 by <a href="/recipes/users/4166930/">Eric Promislow</a> (<a href="/recipes/tags/copy/">copy</a>, <a href="/recipes/tags/files/">files</a>). </p> <p>The project/file API changed significantly moving from Komodo 5 to 6. Specifically, the project manager and file manager have been split into two separate modules.</p> <p>Here's some code to duplicate the current file, using Komodo 6. Note that it uses an internal function - I've made a note that the function has been effectively published, and needs to preserve its current interface.</p>