Skip to content
 
 

Repository files navigation

openLCA Python Tutorial

This tutorial explains the usage of the openLCA API from Python ...

Content

Hello world!

Open the openLCA Python editor under Window > Developer tools > Python and execute the following script:

from org.openlca.app.util import UI, Dialog
from org.openlca.app import App

def say_hello():
    Dialog.showInfo(UI.shell(), 'Hello from Python (Jython)!')

if __name__ == '__main__':
    App.runInUI('say hello', say_hello)

License

This project is in the worldwide public domain, released under the CC0 1.0 Universal Public Domain Dedication.

Public Domain Dedication

About

Explains the usage of the openLCA API from Python (Jython)

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages