Created
September 23, 2022 23:05
-
-
Save devinrsmith/1d7ba0131c6bbe74ade1b7d293ae282e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import jpyutil | |
jpy_properties = { | |
'jpy.pythonPrefix': sys.prefix, | |
'jpy.programName': sys.executable, | |
'jpy.pythonLib': jpyutil._find_python_dll_file(fail=True), | |
'jpy.jpyLib': jpyutil._get_module_path('jpy', fail=True), | |
'jpy.jdlLib': jpyutil._get_module_path('jdl', fail=True) | |
} | |
jpy_properties_format = '\n'.join([ '{}={}'.format(key, value) for key, value in jpy_properties.items() ]) | |
print(jpy_properties_format) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment