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: Nov 06 2024 at 04:40 UTC