Stream: helpdesk (published)

Topic: getting Ref object in pyjulia


view this post on Zulip Rein Zustand (Jun 04 2021 at 10:40):

Suppose I import a Julia module using pyjulia

from julia import Main
Main.include("CSTMultiFirm.jl")

CSTMF = Main.CSTMultiFirm

print(CSTMF.CHANGING_ENERGY_TOTAL)

This outputs <PyCall.jlwrap Base.RefValue{Bool}(false)>. How do I get the false as Python False?


Last updated: Oct 02 2023 at 04:34 UTC