Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(1)  |  Derive(0)  |  Import(2)
Event history of a simulation of an Artificial Chemistry.

src/a/c/AChemKit-0.3.0/AChemKit/tools/log_to_chem.py   AChemKit(Download)
 
import AChemKit
from AChemKit.bucket import Bucket
 
if __name__=="__main__":
 
    newevents = filter(lambda x: x.time > options.after, b.events)
    nb = Bucket(newevents)
    chemstr = str(nb.reactionnet)