Most viewed recipes tagged "populate"http://code.activestate.com/recipes/tags/populate/views/2013-08-15T03:22:24-07:00ActiveState Code RecipesHuman 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>
Cheetah template processor for CSV and XML data (Python)
2010-05-21T10:00:14-07:00Raphaël Jolivethttp://code.activestate.com/recipes/users/4135673/http://code.activestate.com/recipes/577234-cheetah-template-processor-for-csv-and-xml-data/
<p style="color: grey">
Python
recipe 577234
by <a href="/recipes/users/4135673/">Raphaël Jolivet</a>
(<a href="/recipes/tags/cheetah/">cheetah</a>, <a href="/recipes/tags/csv/">csv</a>, <a href="/recipes/tags/merge/">merge</a>, <a href="/recipes/tags/populate/">populate</a>, <a href="/recipes/tags/template/">template</a>, <a href="/recipes/tags/xml/">xml</a>).
</p>
<p>This script allows to populate Cheetah text templates (<a href="http://www.cheetahtemplate.org/" rel="nofollow">http://www.cheetahtemplate.org/</a>) with XML or CSV input data.</p>
<p>This is useful in my day2day work, where I often need to quickly generate bunch of files based on a templates and data.</p>
<p>Cheetah template are very easy to write and understand, and I find it easy to use with CSV or XML data.</p>
Creature Population Simulator (Python)
2013-08-15T03:22:24-07:00Damian Estebanhttp://code.activestate.com/recipes/users/4187532/http://code.activestate.com/recipes/578641-creature-population-simulator/
<p style="color: grey">
Python
recipe 578641
by <a href="/recipes/users/4187532/">Damian Esteban</a>
(<a href="/recipes/tags/creation/">creation</a>, <a href="/recipes/tags/populate/">populate</a>, <a href="/recipes/tags/simulation/">simulation</a>).
</p>
<p>After wondering how human populations can increase in size and writing a simulator for the problem, a simpler question came to mind regarding a population without death. This creature population simulator is an old experiment that served its purpose well. The code here is committed for archival to be run under Python 2.5 or later versions.</p>
Creature Population Simulator (Python)
2012-08-16T03:16:24-07:00Stephen Chappellhttp://code.activestate.com/recipes/users/2608421/http://code.activestate.com/recipes/578240-creature-population-simulator/
<p style="color: grey">
Python
recipe 578240
by <a href="/recipes/users/2608421/">Stephen Chappell</a>
(<a href="/recipes/tags/creation/">creation</a>, <a href="/recipes/tags/populate/">populate</a>, <a href="/recipes/tags/simulation/">simulation</a>).
</p>
<p>After wondering how human populations can increase in size and writing a simulator for the problem, a simpler question came to mind regarding a population without death. This creature population simulator is an old experiment that served its purpose well. The code here is committed for archival to be run under Python 2.5 or later versions.</p>