Popular recipes by Michael Swartz http://code.activestate.com/recipes/users/4187428/2013-08-31T08:14:10-07:00ActiveState Code RecipesDynamically format a comment block (Python)
2013-08-31T08:14:10-07:00Michael Swartzhttp://code.activestate.com/recipes/users/4187428/http://code.activestate.com/recipes/578624-dynamically-format-a-comment-block/
<p style="color: grey">
Python
recipe 578624
by <a href="/recipes/users/4187428/">Michael Swartz</a>
(<a href="/recipes/tags/comments/">comments</a>, <a href="/recipes/tags/for_loop/">for_loop</a>, <a href="/recipes/tags/list/">list</a>).
Revision 3.
</p>
<p>Neatly format a comment block that is surrounded by #s and takes into account right side space padding.</p>