Top-rated recipes tagged "helpers"http://code.activestate.com/recipes/tags/helpers/top/2012-07-05T02:39:42-07:00ActiveState Code RecipesSetting Namespaces (Python) 2012-07-05T02:39:42-07:00Stephen Chappellhttp://code.activestate.com/recipes/users/2608421/http://code.activestate.com/recipes/578195-setting-namespaces/ <p style="color: grey"> Python recipe 578195 by <a href="/recipes/users/2608421/">Stephen Chappell</a> (<a href="/recipes/tags/helpers/">helpers</a>, <a href="/recipes/tags/library/">library</a>, <a href="/recipes/tags/options/">options</a>, <a href="/recipes/tags/utility/">utility</a>). Revision 2. </p> <p>Provides a simple way to deal with program variable versioning.</p> <p>This module defines two classes to store application settings so that multiple file versions can coexist with each other. Loading and saving is designed to preserve all data among the different versions. Errors are generated to protect the data when type or value violations occur.</p> Settings Organizer (Python) 2012-07-04T22:16:36-07:00Stephen Chappellhttp://code.activestate.com/recipes/users/2608421/http://code.activestate.com/recipes/578173-settings-organizer/ <p style="color: grey"> Python recipe 578173 by <a href="/recipes/users/2608421/">Stephen Chappell</a> (<a href="/recipes/tags/helpers/">helpers</a>, <a href="/recipes/tags/library/">library</a>, <a href="/recipes/tags/options/">options</a>, <a href="/recipes/tags/utility/">utility</a>). Revision 3. </p> <p>Provide an easy method to manage program options among multiple versions.</p> <p>This module contains two classes used to store application settings in such a way that multiple file versions can possibly coexist with each other. Loading and saving settings is designed to preserve as much data between versions. An error is generated on loading if saving would lead to any data being lost.</p> Whitespace Helpers (Python) 2010-03-14T15:36:03-07:00Stephen Chappellhttp://code.activestate.com/recipes/users/2608421/http://code.activestate.com/recipes/577109-whitespace-helpers/ <p style="color: grey"> Python recipe 577109 by <a href="/recipes/users/2608421/">Stephen Chappell</a> (<a href="/recipes/tags/helpers/">helpers</a>, <a href="/recipes/tags/whitespace/">whitespace</a>). </p> <p>Includes a function to encode Python strings into my WSA format.</p> <p>Has a "PRINT_LINE" function that can be copied to a WSA program.</p> <p>Contains a "PRINT" function and documentation as an explanation.</p>