Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generating $py.class file #8

Open
Brotrand opened this issue Jan 15, 2018 · 1 comment
Open

generating $py.class file #8

Brotrand opened this issue Jan 15, 2018 · 1 comment
Labels

Comments

@Brotrand
Copy link

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 have never worked with java I am wondering, how I can generate or how I get this file?
I appreciate any help you can give me on this one.
Thank you

@msrocka
Copy link
Member

msrocka commented Jan 15, 2018

The .class files are automatically generated by the Jython compiler. When you execute the example.py file which imports the util.py file, the compiler would generated somethong like a util.class file.

Here you can find information about setting up an IDE, which makes it easier to work with these files: https://github.com/GreenDelta/openlca-python-tutorial/blob/master/ide_setup.md

Note that we created the example.py file in a developer training and still did not had the time to clean this up... so it is quite messy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants