openlca-python-tutorial icon indicating copy to clipboard operation
openlca-python-tutorial copied to clipboard

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

Results 30 openlca-python-tutorial issues
Sort by recently updated
recently updated
newest added

In the product system tutorial the LCI method is selected via an interactive window ```python methodDescriptor = ModelSelectionDialog.select(ModelType.IMPACT_METHOD) ``` How can I choose a method directly in jython? How can...

question

Hi, enjoying learning this api, thank you! I haven't been able to delete entities using the dao. i am using openLCA 1.6.3, and the ide and jython version specified here....

question

I am trying to import from `org.openlca.app` to be able to build product system but get the error message ```shell ImportError: No module named app ``` Apparently I don't have...

question

I´m trying to generate a new product system with one process and the related porvider porcesses. I want to use the auto-complete function. Generating the new product system works with:...

question

How can I set the output of an sql query on an openLCA database to a new variable? For example, the following will print the id and name of a...

question

Getting a flow from the database `elcd_3_2_greendelta_v2_16` is no problem with the following function ```python def find(db, clazz, name): """ Find something by name""" dao = Daos.createBaseDao(db, clazz) for item...

question

Hello, I´m trying to work through the example.py with jython. As far as I understand it, I will need a $py.class file coming with the util.py file, right? As I...

question

Hi, Thanks for your tutorial. I found openLCA is very friendly to developers with python embedded. Thanks for making this. I want to use the python interface to create a...

question

Hi I have some larger product systems of a few hundred processes. I have a use case where some of the processes need to be deleted, while preserving the rest...

question

Hello @msrocka ! Thanks for putting this up :) How do i execute the "say hello" code written in the python window in OpenLCA? ![image](https://cloud.githubusercontent.com/assets/20396800/26635940/e1d89160-4638-11e7-9f7d-6d5ed9293cb3.png) Version - 1.6.2 Windows 7,...

question