Skip to content

stefanpauliuk/openlca-python-tutorial

 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.5%
  • Batchfile 1.5%