from brightway2 import * from brightwaysimple import * import random import bw2chart-db methods = list(methods) method1 = random.choice(methods) musa_database = Database(u"musa") musa_data = musa_database.load() my_functional_unit = Activity(random.choice(musa_data.keys()) fu_result = my_functional_unit.lca(method1) bw2chart-db.store_result(fu_result) ##... # Then here when Alice wants to look at the dashboard, she would have to do something like .. # # bw2chart-ws.start() # which would open a web browser ...
Run
Reset
Share
Import
Link
Embed
Language▼
English
中文
Python Fiddle
Python Cloud IDE
Follow @python_fiddle
Browser Version Not Supported
Due to Python Fiddle's reliance on advanced JavaScript techniques, older browsers might have problems running it correctly. Please download the latest version of your favourite browser.
Chrome 10+
Firefox 4+
Safari 5+
IE 10+
Let me try anyway!
url:
Go
Python Snippet
Stackoverflow Question