Popular recipes tagged "interpolation"http://code.activestate.com/recipes/tags/interpolation/2008-07-29T14:17:02-07:00ActiveState Code Recipesfiltered interpolation (Python) 2008-07-29T14:17:02-07:00Pádraig Bradyhttp://code.activestate.com/recipes/users/1890175/http://code.activestate.com/recipes/576389-filtered-interpolation/ <p style="color: grey"> Python recipe 576389 by <a href="/recipes/users/1890175/">Pádraig Brady</a> (<a href="/recipes/tags/filter/">filter</a>, <a href="/recipes/tags/interpolation/">interpolation</a>). </p> <p>I find the following 2 functions useful when programming, when browsing objects interactively like one would do with dir.</p> <p>Importing this module allows one to restrict the output from dir to what's required. Note also the standard pprint module may be useful also.</p>